#3271 Issue closed
: USB config not working¶
Labels: support / question
oelkie opened issue at 2024-07-10 10:34:¶
rear -V
2.6 / Git via 'apt install rear'
Debian 11, fresh install
/etc/rear/local.conf
BACKUP=NETFS
OUTPUT=USB
USB_DEVICE=/dev/disk/by-label/REAR-000
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
/etc/rear/site.conf
TIMESYNC=NTP
System, inxi -F information:
System: Host: debian11rear Kernel: 5.10.0-30-amd64 x86_64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Hewlett-Packard product: HP ZBook 14 v: A3009DD10303 serial: 5CG5062MHR
Mobo: Hewlett-Packard model: 198F v: KBC Version 15.59 serial: PDYAC00WB8B09N BIOS: Hewlett-Packard
v: L71 Ver. 01.49 date: 02/24/2020
Battery: ID-1: BAT0 charge: 0% condition: 42.5/42.5 Wh (100%)
CPU: Info: Dual Core model: Intel Core i7-4600U bits: 64 type: MT MCP L2 cache: 4 MiB
Speed: 2095 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 2095 2: 2096 3: 2095 4: 2101
Graphics: Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
Device-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD 8730M] driver: N/A
Device-3: Cheng Uei Precision Industry (Foxlink) HP HD Webcam type: USB driver: uvcvideo
Display: server: No display server data found. Headless machine? tty: 180x42
Message: Advanced graphics data unavailable in console for root.
Audio: Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
Device-3: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] driver: snd_hda_intel
Sound Server: ALSA v: k5.10.0-30-amd64
Network: Device-1: Intel Ethernet I218-LM driver: e1000e
IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: 50:65:f3:b8:c7:b8
Device-2: Intel Wireless 7260 driver: N/A
Device-3: HP lt4112 Gobi 4G Module Network Device type: USB driver: qcserial,qmi_wwan
IF: wwan0 state: down mac: 32:ce:37:08:62:be
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
Report: ID: hci0 state: up running bt-v: 2.1 address: D8:FC:93:6D:51:54
Drives: Local Storage: total: 238.47 GiB used: 1.73 GiB (0.7%)
ID-1: /dev/sda vendor: Transcend model: TS256GMTS430S size: 238.47 GiB
Partition: ID-1: / size: 232.73 GiB used: 1.73 GiB (0.7%) fs: ext4 dev: /dev/sda1
Swap: ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) dev: /dev/sda5
Sensors: System Temperatures: cpu: 50.0 C mobo: 0.0 C
Fan Speeds (RPM): N/A
Info: Processes: 115 Uptime: 4m Memory: 15.52 GiB used: 495.9 MiB (3.1%) Init: systemd runlevel: 5 Shell: Bash
inxi: 3.3.01
lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT
NAME KNAME PKNAME TRAN TYPE FSTYPE LABEL SIZE MOUNTPOINT
/dev/sda /dev/sda sata disk 238,5G
|-/dev/sda1 /dev/sda1 /dev/sda part ext4 237,5G /
|-/dev/sda2 /dev/sda2 /dev/sda part 1K
`-/dev/sda5 /dev/sda5 /dev/sda part swap 976M [SWAP]
rear -d -v mkbackup
gave message:
2024-07-10 12:16:40.030195929 WARNING: tar ended with return code 1 and below output:
---snip---
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
tar: /sys: 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.
Booting from this device gave an 'Boot error'
Best regards
gdha commented at 2024-07-11 09:00:¶
@oelkie See example page https://relax-and-recover.org/usage/#recovery_from_usb
oelkie commented at 2024-07-19 12:25:¶
This issue can be closed, i got working config:
backup to USB-Drive¶
OUTPUT=USB
USB_DEVICE=/dev/disk/by-label/REAR-000
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
BACKUP_PROG_EXCLUDE=( ${BACKUP_PROG_EXCLUDE[@]} '/tmp' '/var/tmp'
)
USING_UEFI_BOOTLOADER=1
USB_PREFIX="${HOSTNAME}-$(date '+%Y-%m-%d-%H%M%S')"
USE_DHCLIENT=n
gdha commented at 2024-07-19 12:28:¶
@oelkie Thank you very much for the good feedback - you will help other users with it.
[Export of Github issue for rear/rear.]