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