Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to Restore backup

#1
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.
 Reply
#2
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.
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 Reply
#3
You're awesome Robbie. Thank you for your help!! I was doing this all wrong.
 Reply
#4
My pleasure. Glad I could help!

Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 Reply
 
 
Forum Jump:

Users browsing this thread: 1 Guest(s)