バックアップは6.5GBようしたので16GBのUSBでOK
root@intel-nuc:/etc/rear/usb# /usr/sbin/rear -c /etc/rear/usb/ -v mkbackup
Relax-and-Recover 2.6-git.4144.011ea38.master / 2020-10-19
Running rear mkbackup (PID 3412 date 2021-02-18 14:03:21)
Using log file: /var/log/rear/rear-intel-nuc.log
Running workflow mkbackup on the normal/original system
Using backup archive ‘/tmp/rear.aXoZNxMDC4sztmJ/outputfs/rear/intel-nuc/20210218.1403/backup.tar.gz’
Using autodetected kernel ‘/boot/vmlinuz-4.9.0-0.bpo.11-amd64’ as kernel in the recovery system
Creating disk layout
Overwriting existing disk layout file /var/lib/rear/layout/disklayout.conf
Disabling component ‘disk /dev/sdc’ in /var/lib/rear/layout/disklayout.conf
Disabling component ‘part /dev/sdc’ in /var/lib/rear/layout/disklayout.conf
Using guessed bootloader ‘GRUB’ (found in first bytes on /dev/sda)
Verifying that the entries in /var/lib/rear/layout/disklayout.conf are correct
Created disk layout (check the results in /var/lib/rear/layout/disklayout.conf)
Creating recovery system root filesystem skeleton layout
Skipping ‘ppp0’: not bound to any physical interface.
Cannot include default keyboard mapping (no KEYMAPS_DEFAULT_DIRECTORY specified)
Cannot include keyboard mappings (neither KEYMAPS_DEFAULT_DIRECTORY nor KEYMAPS_DIRECTORIES specified)
Copying logfile /var/log/rear/rear-intel-nuc.log into initramfs as ‘/tmp/rear-intel-nuc-partial-2021-02-18T14:03:24+0900.log’
Copying files and directories
Copying binaries and libraries
Copying all kernel modules in /lib/modules/4.9.0-0.bpo.11-amd64 (MODULES contains ‘all_modules’)
Copying all files in /lib*/firmware/
Symlink ‘/lib/modules/4.9.0-0.bpo.11-amd64/build’ -> ‘/usr/src/linux-headers-4.9.0-0.bpo.11-amd64’ refers to a non-existing directory on the recovery system.
It will not be copied by default. You can include ‘/usr/src/linux-headers-4.9.0-0.bpo.11-amd64’ via the ‘COPY_AS_IS’ configuration variable.
Symlink ‘/lib/modules/4.9.0-0.bpo.11-amd64/source’ -> ‘/usr/src/linux-headers-4.9.0-0.bpo.11-common’ refers to a non-existing directory on the recovery system.
It will not be copied by default. You can include ‘/usr/src/linux-headers-4.9.0-0.bpo.11-common’ via the ‘COPY_AS_IS’ configuration variable.
Symlink ‘/usr/share/misc/magic’ -> ‘/usr/share/file/magic’ refers to a non-existing directory on the recovery system.
It will not be copied by default. You can include ‘/usr/share/file/magic’ via the ‘COPY_AS_IS’ configuration variable.
Testing that the recovery system in /tmp/rear.aXoZNxMDC4sztmJ/rootfs contains a usable system
Creating recovery/rescue system initramfs/initrd initrd.cgz with gzip default compression
Created initrd.cgz with gzip default compression (93978626 bytes) in 14 seconds
Saved /var/log/rear/rear-intel-nuc.log as rear/intel-nuc/20210218.1403/rear-intel-nuc.log
Writing MBR of type msdos to /dev/sdc
Setting up GRUB_RESCUE: Adding Relax-and-Recover rescue system to the local GRUB 2 configuration.
Finished GRUB_RESCUE setup: Added ‘Relax-and-Recover’ GRUB 2 menu entry.
Making backup (using backup method NETFS)
Creating tar archive ‘/tmp/rear.aXoZNxMDC4sztmJ/outputfs/rear/intel-nuc/20210218.1403/backup.tar.gz’
Archived 6575 MiB [avg 1703 KiB/sec] OK
WARNING: tar ended with return code 1 and below output (last 5 lines):
—snip—
tar: /sys: file changed as we read it
tar: /var/log/fail2ban.log: file changed as we read it
tar: /var/log/asterisk/freepbx.log: file changed as we read it
tar: /var/log/auth.log: file changed as we read it
———-
This means that files have been modified during the archiving
process. As a result the backup may not be completely consistent
or may not be a perfect copy of the system. Relax-and-Recover
will continue, however it is highly advisable to verify the
backup in order to be sure to safely recover this system.
Archived 6575 MiB in 3954 seconds [avg 1702 KiB/sec]
Exiting rear mkbackup (PID 3412) and its descendant processes …
Running exit tasks
root@intel-nuc:/etc/rear/usb#
コメント