Page 1 of 1

nagiosxi backup issue

Posted: Thu Sep 12, 2013 3:32 pm
by benhank
a commercial break from the " my snmptt is busted" show


When I run a backup on my Production server, it completes with no errors.
When i scp the tar file to my secondary server, and then run the restore script, I get an error saying "blah blah you are screwed" unexpected end of file"
This was working fine up until a few weeks ago.
I am including the scripts I use for your viewing pleasure

Re: nagiosxi backup issue

Posted: Thu Sep 12, 2013 4:05 pm
by sreinhardt
First note, and could be from uploading to the servers, they are in dos format not unix. Otherwise nothing is screaming at me that its wrong, what line is the error at?

Edit: You are missing a semi-colon on 86, 67, 53, 42, 18 and 7, yep in revers order. Otherwise there are just a few missing spaces between ; and then in a few places but still nothing major or that should cause an issue.