From 95a00a6f35aeb37cd9286c3aa35c83020ba49f25 Mon Sep 17 00:00:00 2001 From: wschildbach Date: Sat, 28 Nov 2020 21:46:23 +0100 Subject: [PATCH] Fix target configuration Target configuration needs two parameters, a type and the path or URL. The documentation did not include the type, which led to failures in btrbk. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 41f96a6..554371e 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Retention policy: snapshot_dir btrbk_snapshots volume /mnt/btr_pool - target /mnt/btr_backup/mylaptop + target send-receive /mnt/btr_backup/mylaptop subvolume rootfs subvolume home [...] @@ -167,8 +167,8 @@ this: volume /mnt/btr_pool subvolume rootfs - target /mnt/btr_backup/mylaptop - target ssh://myserver.mydomain.com/mnt/btr_backup/mylaptop + target send-receive /mnt/btr_backup/mylaptop + target send-receive ssh://myserver.mydomain.com/mnt/btr_backup/mylaptop In addition to the backups on your local usb-disk mounted at `/mnt/btr_backup/mylaptop`, incremental backups would also be pushed @@ -184,12 +184,12 @@ fileserver, the config would be something like: ssh_identity /etc/btrbk/ssh/id_rsa volume ssh://alpha.mydomain.com/mnt/btr_pool - target /mnt/btr_backup/alpha + target send-receive /mnt/btr_backup/alpha subvolume rootfs subvolume home volume ssh://beta.mydomain.com/mnt/btr_pool - target /mnt/btr_backup/beta + target send-receive /mnt/btr_backup/beta subvolume rootfs subvolume dbdata @@ -241,7 +241,7 @@ to only fetch the snapshots. target_preserve 0d 10w *m volume ssh://192.168.0.42/mnt/btr_pool - target /mnt/btr_backup/my-laptop + target send-receive /mnt/btr_backup/my-laptop subvolume home snapshot_dir btrbk_snapshots snapshot_preserve_min all @@ -261,7 +261,7 @@ host, but distinct port numbers for each machine. /etc/btrbk/btrbk.conf: # This propagates to all subvolume sections: - target /mnt/btr_backup/ + target send-receive /mnt/btr_backup/ volume ssh://localhost:2201/mnt/btr_pool group vm vm01