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.
How to Restore backup
-
- Junior Member
- Posts: 5
- Joined: Fri Mar 01, 2019 3:46 pm
How to Restore backup
Last edited by witchking86 on Mon Mar 04, 2019 1:59 pm, edited 1 time in total.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: How to Restore backup
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.
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:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
-
- Junior Member
- Posts: 5
- Joined: Fri Mar 01, 2019 3:46 pm
RE: How to Restore backup
You're awesome Robbie. Thank you for your help!! I was doing this all wrong.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: How to Restore backup
My pleasure. Glad I could help!
Robbie
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems