From a5dd4dd7b94d019299e51031e99a051fc657bf81 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Tue, 22 Feb 2022 22:17:23 +0100 Subject: [PATCH] btrbk.conf.example: add local user on demand with ssh-agent --- btrbk.conf.example | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/btrbk.conf.example b/btrbk.conf.example index f90efbf..6de7942 100644 --- a/btrbk.conf.example +++ b/btrbk.conf.example @@ -178,6 +178,21 @@ volume ssh://my-remote-host.com/mnt/btr_pool target /mnt/btr_backup/my-remote-host.com +# Backup on demand (noauto) to remote host running busybox, login as +# regular user using ssh-agent with current user name (ssh_user no) +# and default credentials (ssh_identity no). +volume /home + noauto yes + compat busybox + backend_remote btrfs-progs-sudo + ssh_user no + ssh_identity no + + target ssh://my-user-host.com/mnt/btr_backup/home + subvolume alice + subvolume bob + + # Resume backups from remote host which runs its own btrbk instance # creating snapshots for "home" in "/mnt/btr_pool/btrbk_snapshots". volume ssh://my-remote-host.com/mnt/btr_pool