Page 1 of 1

restore configuration snapshot

Posted: Thu Mar 12, 2015 6:49 am
by venkitesh
hi

any one knows how to restore a configuration snapshot.

i am not asking for this /usr/local/nagiosxi/scripts/restore_xi.sh <backupfile.tar.gz>

i have downloaded a configuration snapshot of 45KB . any idea how to restore that

its not showing in the list of snapshots in gui, i think it will show only top 10

Re: restore configuration snapshot

Posted: Thu Mar 12, 2015 9:40 am
by ssax
You can place the file in /usr/local/nagiosxi/nom/checkpoints/nagioscore/archives

If that directory doesn't exist you can click the archive button on one of your snapshots (far right button under actions) in manage snapshots.

make sure to run the command below after placing the file in there:

Code: Select all

chown nagios.users NAMEOFFILE.tar.gz

Re: restore configuration snapshot

Posted: Fri Mar 13, 2015 12:12 am
by venkitesh
hi ssax,

when i try to restore its showing snapshot doesnt exist.

Re: restore configuration snapshot

Posted: Fri Mar 13, 2015 10:23 am
by jolson
Please run the following command to check for proper permissions:

Code: Select all

ll /usr/local/nagiosxi/nom/checkpoints/nagioscore/archives/
Set permissions properly if they are incorrect:

Code: Select all

chmod -R 644 /usr/local/nagiosxi/nom/checkpoints/nagioscore/archives/*
Please let us know if the above works for you. Thank you!