NethServer Version: NethServer release 7.6.1810 (final)
Module: Backup
Hi Everyone,
I have an issue with disaster recovery.
Context:
My HDD is dying so got a new HDD, installed on the Server.
I am backing up to an 8 TB USB, configured in the GUI.
Installed Latesest Nethserver (my old server was on the same version) from ISO and configured it using the backup-config.tar.xz at first launch wizard.
Once this was done, I saw all users back, virtual hosts etc… restored, so was moving on to recover the data.
I had perviously (here) issues with it in the GUI, so moved to CL and thats where I have my problem.
Issue:
SSH into the server and get the following error when typing in: “restore-data”
[root@hnm ~]# restore-data
No name given at /sbin/e-smith/restore-data line 38.
Went through the docs and forums again and typed in: “restore-data -b backup-data”
Restore started at 2019-02-10 20:57:02
Can’t open directory /etc/e-smith/events/pre-restore-data
Ran backup-data-list -b backup-data -> shows a ton of files
Ran backup-data-list -b backup-data > /tmp/backupfiles.txt -> this created a 15 MB file showing the details
This is my config:
[root@hnm ~]# config show backup-data
backup-data=configuration
IncludeLogs=enabled
[root@core ~]# db backups show
backup-data=duplicity
BackupTime=0 7 * * *
CleanupOlderThan=28D
FullDay=0
NFSHost=
NFSShare=
Notify=always
NotifyFrom=backup@domain.com
NotifyTo=notify@domain.com
SMBHost=
SMBLogin=
SMBPassword=
SMBShare=
Type=full
USBLabel=backup
VFSType=usb
VolSize=250
WebDAVLogin=
WebDAVPassword=
WebDAVUrl=
status=enabled
[root@hnm ~]#
Can anyone help me how to progress with disaster recovery?