restore configuration snapshot

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

restore configuration snapshot

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: restore configuration snapshot

Post 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
You do not have the required permissions to view the files attached to this post.
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: restore configuration snapshot

Post by venkitesh »

hi ssax,

when i try to restore its showing snapshot doesnt exist.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: restore configuration snapshot

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked