Restore from backup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Restore from backup

Post 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!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Restore from backup

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Restore from backup

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Restore from backup

Post 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?
Former Nagios employee
https://www.mcapra.com/
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Restore from backup

Post 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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Restore from backup

Post by dwhitfield »

Glad you worked it out! We're here to help, no worries.

Are we ok to go ahead and lock the thread?
Locked