digint / digint/btrbk

Failed to fetch subvolume detail

Open
#421 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

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 OK

Server 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)

Date: Thu Oct 14 00:48:35 2021
Config: /etc/btrbk/btrbk.conf
Dryrun: YES

Legend:
=== up-to-date subvolume (source snapshot)
+++ created subvolume (source snapshot)
--- deleted subvolume
*** received subvolume (non-incremental)
>>> received subvolume (incremental)
--------------------------------------------------------------------------------
/btrfs/@
+++ /btrfs/@snapshots/@.20211014T0048
!!! Target "192.168.1.10:/backups/" aborted: Failed to fetch subvolume detail
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.