Hi,
Has anyone managed to restore an XI snapshot taken form one machine onto a new machine?
I'm not talking about using backup and restore scripts because the backup contains PHPs and binaries which may be corrupt so I don't want the corruped files restored to the new machine.
What I've done is take a good snapshot from the old machine (from /usr/local/nagiosxi/nom/checkpoints/nagioscore) copied to the new machine, changed the file permissions, gone to the Configuration Snapshots web page where it appears in the list, clicked on the restore icon, then the web page promptly displays "This snapshot doesn't exist"
Steve
Restore a snapshot on a new VM
Re: Restore a snapshot on a new VM
To be honest with you, I haven't tried this but I believe there is another file that you need in "/usr/local/nagiosxi/nom/checkpoints/nagiosxi/" directory. Try moving this file to the new VM as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Restore a snapshot on a new VM
That was it
So you grab the two files from "/usr/local/nagiosxi/nom/checkpoints/nagioscore/" and the one from "/usr/local/nagiosxi/nom/checkpoints/nagiosxi/" all with the same timestamp. Copy them to the new VM. Check/change user permissions. Go to the Configuration Snapshots web page, click restore and hey presto the snapshot gets restored. Just run a verify etc. etc. afterwards.
Thanks
So you grab the two files from "/usr/local/nagiosxi/nom/checkpoints/nagioscore/" and the one from "/usr/local/nagiosxi/nom/checkpoints/nagiosxi/" all with the same timestamp. Copy them to the new VM. Check/change user permissions. Go to the Configuration Snapshots web page, click restore and hey presto the snapshot gets restored. Just run a verify etc. etc. afterwards.
Thanks
Steve
Re: Restore a snapshot on a new VM
Good, we'll go ahead and close this thread. Thanks.