Page 1 of 1
Restore from backup
Posted: Mon Nov 14, 2016 12:05 pm
by CameronWP
Hello:
I accidentally overwrote the configuration of my log server with a new version. I still have all of my backups but I am having a terrible time finding documentation on restoring. Is there a document that describes the process or can someone provide some steps on recovering from backup?
Thanks!
Re: Restore from backup
Posted: Mon Nov 14, 2016 12:12 pm
by mcapra
If all you need to do is restore your configuration, you can do this from the "Config Snapshots" section of the Administration page.
2016_11_14_11_11_25_Configuration_Snapshots_Nagios_Log_Server.png
Re: Restore from backup
Posted: Mon Nov 14, 2016 12:15 pm
by CameronWP
Thanks for the reply, the issue I am having is that none of my original backups before nuking the system are appearing. They are still on the file system but they aren't accessible from the web interface. Is there a way to manually recover?
Re: Restore from backup
Posted: Mon Nov 14, 2016 12:35 pm
by mcapra
CameronWP wrote:They are still on the file system
Can you share the output of:
Code: Select all
ls -al /store/backups/nagioslogserver
ls -al /usr/local/nagioslogserver/snapshots
I just want to make sure we're talking about the same sorts of "backups". There's different procedures for restoring from a
config snapshot and a
system backup.
If there's nothing in either of those paths, do you know how this backup you're attempting to restore from was generated?
Re: Restore from backup
Posted: Mon Nov 14, 2016 1:06 pm
by CameronWP
Hi:
I worked it out myself. I should have kept reading the manual!
I used the restore_backup.sh script and was able to get things working again. Thanks for replying and sorry to waste your time!
Cameron
Re: Restore from backup
Posted: Mon Nov 14, 2016 1:08 pm
by dwhitfield
Glad you worked it out! We're here to help, no worries.
Are we ok to go ahead and lock the thread?