du -s -h /home/
cd /usr/local/sbin
git clone https://github.com/rear/rear.git
cd rear/
fdisk -l
fdisk /dev/sdb
d
w
fdisk /dev/sdb
n
w
reboot
mkfs.vfat -F32 /dev/sdb1
rear format -- --efi /dev/sdb
vi 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
usr/sbin/rear -v mkrescue
USBから起動するか確認する
usr/sbin/rear -v mkbackup
コメント