Category5.TV Community Forum

Full Version: How to Restore backup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you restore your backup? Im having issues doing so on 1.5. It tells me that the nagios config files doesnt exist then stops processing. Any help would be awesome!! This is what I get...


Are you sure you want to attempt restore? [y/N] y
tar (child): /mnt: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): /tmp/nems_migrator_restore/tmp/private.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove '/tmp/nems_migrator_restore/tmp/private.tar.gz': No such file or directory
/usr/local/bin/nems-restore: line 145: cd: /tmp/nems_migrator_restore/tmp/: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Backup file is from NEMS 1.2. Proceeding.
Source: /tmp/nems_migrator_restore/etc/nagios3
Nagios Configuration Missing. This is a critical error.
Hi witchking86,
It looks to me as though the instructions you're trying to follow are assuming you have a drive mounted which contains your backup. Since you don't, it won't work.

I think to keep things easy, you should instead copy your backup.nems file via samba to your NEMS server's "home" share. Then, you can restore it with: sudo nems-restore /home/YOURNAME/backup.nems

Do you know how to do this? Here to help if you need me.
You're awesome Robbie. Thank you for your help!! I was doing this all wrong.
My pleasure. Glad I could help!

Robbie