Open mcteixeira opened 3 years ago
WARNING: ... sh: ssh -i /root/.ssh/id_rsa root@192.168.1.10 'readlink -v -e /backups/thinkpad' WARNING: ... [ERROR] Unrecognized command, bailing out!
looks like your system at 192.168.1.10 does not have the readlink
command (which is part of coreutils and should be present on all systems). Another possibility is that your ssh setup strips $PATH, and it cannot find readlink
because of that.
Hi,
Can you please tell me what I'm doing wrong? The dryrun always shows me the error
!!! Target "192.168.1.10:/backups/" aborted: Failed to fetch subvolume detail
The local snapshots are working OKServer fstab for BTRFS drive and subvolume
UUID=XXX /backups btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,commit=120,subvol=@backups 0 0
Configuration file
/etc/btrbk/btrbk.conf
:` timestamp_format long snapshot_preserve_min 18h snapshot_preserve 48h
ssh_identity /root/.ssh/id_rsa snapshot_dir @snapshots
volume /btrfs subvolume @ target ssh://192.168.1.10/backups/ `
Output of
sudo btrbk -c /etc/btrbk/btrbk.conf -v -n run
`btrbk command line client, version 0.31.3 (Thu Oct 14 00:48:35 2021) Using configuration: /etc/btrbk/btrbk.conf WARNING: Skipping target "192.168.1.10:/backups/": Failed to fetch subvolume detail WARNING: ... Command execution failed (exitcode=1) WARNING: ... sh: ssh -i /root/.ssh/id_rsa root@192.168.1.10 'readlink -v -e /backups/thinkpad' WARNING: ... [ERROR] Unrecognized command, bailing out! Assuming non-present subvolume "@.20211014T0048" in skipped targets: "192.168.1.10:/backups/" Creating subvolume snapshot for: /btrfs/@ [snapshot] source: /btrfs/@ [snapshot] target: /btrfs/@snapshots/@.20211014T0048 WARNING: Skipping cleanup of snapshots for subvolume "/btrfs/@", as at least one target aborted earlier Completed within: 3s (Thu Oct 14 00:48:38 2021)
Backup Summary (btrbk command line client, version 0.31.3)
Legend: === up-to-date subvolume (source snapshot) +++ created subvolume (source snapshot) --- deleted subvolume *** received subvolume (non-incremental)