Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
— |
admin_grundlagen:relax_and_recover [2016/11/25 15:30] (aktuell) ingo_wichmann angelegt |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Relax and Recover ====== | ||
+ | Backup auf USB | ||
+ | |||
+ | CentOS 7: | ||
+ | yum-config-manager --enable extras | ||
+ | yum install epel-release | ||
+ | yum install rear.noarch syslinux-extlinux | ||
+ | |||
+ | Usb Stick unmounten (falls gemountet): | ||
+ | umount /dev/sdb1 | ||
+ | |||
+ | Usb Stick mit Rear formatieren: | ||
+ | rear format /dev/sdb1 | ||
+ | |||
+ | <file txt /etc/rear/local.conf> | ||
+ | ### write the rescue initramfs to USB and update the USB bootloader | ||
+ | OUTPUT=USB | ||
+ | |||
+ | ### create a backup using the internal NETFS method, using 'tar' | ||
+ | BACKUP=NETFS | ||
+ | |||
+ | ### write both rescue image and backup to the device labeled REAR-000 | ||
+ | BACKUP_URL=usb:///dev/disk/by-label/REAR-000 | ||
+ | |||
+ | ### noch ungetestet: | ||
+ | BACKUP_OPTIONS="rw,seclabel,user_xattr,acl" | ||
+ | </file> | ||
+ | |||
+ | Rescue Medium erstellen | ||
+ | rear -v mkrescue | ||
+ | |||
+ | Backup erstellen | ||
+ | rear -v mkbackup | ||
+ | |||
+ | |||
+ | Anschließend kann vom USB Stick gebootet werden. | ||
+ | |||
+ | Als root anmelden | ||
+ | |||
+ | Das Wiederherstellen ist in der integrierten Hilfe auf dem USB Stick beschrieben | ||
+ | rear recover | ||
+ | |||
+ | ====== Dokumentation ====== | ||
+ | |||
+ | * http://relax-and-recover.org/documentation/getting-started | ||