Relax-and-Recover - Linux bare metal disaster recovery and system migration solution (cfr. mksysb, ignite)
hi @daebenji , i have tried to do what you advised but it still failed, below are my config for both ~/.ssh/config and local.conf
$ cat .ssh/config
Host 172.16.10.17
HostName 172.16.10.17
User sftpuser
IdentityFile ~/.ssh/id_rsa$ sudo cat /etc/rear/local.conf
OUTPUT=ISO
BACKUP=NETFS
OUTPUT_URL=sftp://172.16.10.17/home/sftpuser/
BACKUP_URL=iso:///backup/
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash')
@wellysunardy Did you exchange your public SSH key with the remote system (add it to ~/.ssh/authorized_keys file)?
in this topic https://askubuntu.com/questions/1295016/how-to-create-full-backup-bootable-iso-file-using-relax-and-recover-app
Why not make a bootable USB stick and write backup to it as well? See http://relax-and-recover.org/documentation/usecases
After struggling with this need and the problem, I Asked it on the rear/rear#2530, and the answer as in the below:
it will generate 1 bootable iso in /var/lib/rear/output/rear-YOURSYSTEMNAME.iso
OUTPUT=ISO
OUTPUT_URL=null
BACKUP=NETFS
BACKUP_URL="iso:///backup"
And you can install it where ever you want. Please read the issue carefully.
In my experience, if the automatic restore failed, you should manually restore it as the rear
video says:
https://relax-and-recover.org/
rear username: root
command to restore: rear recover
Hi, I'd like to use an USB drive to store backup.tar.gz, but when I tried to mount the USB drive for restore, the rescue OS complains that ntfs filesystem unknown. What is the best way to add ntfs modules to the rescue ISO?
Add MODULES=( 'all_modules' ) to the /etc/rear/local.conf file
thanks @gdha , is there a trick to get the rescue iso bootable after adding the MODULES line? I have upgraded rear to 2.6 but the rescue would hang after selecting Recover from the menu
@sway-vmware Try first to get a prompt from the rescue medium after booting. From the command line you can also start a recover easely.