From 67020797ff9e124accb9cee33ccd322f9b1aa3e1 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 28 Jul 2022 12:04:09 +0200 Subject: [PATCH] btrbk.conf.example: tidy ssh_identity, add backend_local_user --- btrbk.conf.example | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/btrbk.conf.example b/btrbk.conf.example index 6de7942..d7c3096 100644 --- a/btrbk.conf.example +++ b/btrbk.conf.example @@ -17,6 +17,13 @@ # Enable transaction log transaction_log /var/log/btrbk.log +# Specify SSH private key for remote connections +ssh_identity /etc/btrbk/ssh/id_ed25519 +ssh_user root + +# Use sudo if btrbk or lsbtr is run by regular user +backend_local_user btrfs-progs-sudo + # Enable stream buffer. Adding a buffer between the sending and # receiving side is generally a good idea. # NOTE: If enabled, make sure to install the "mbuffer" package! @@ -67,12 +74,6 @@ snapshot_dir _btrbk_snap #archive_preserve_min no #archive_preserve h d w m y -# Specify SSH private key for "ssh://" volumes / targets: -#ssh_identity /etc/btrbk/ssh/id_ed25519 -#ssh_user root -#ssh_compression no -#ssh_cipher_spec default - # Enable compression for remote btrfs send/receive operations: #stream_compress no #stream_compress_level default