From 6d14a4b8e85a2323ad96e260595a9df8c72da682 Mon Sep 17 00:00:00 2001 From: lab-cat <> Date: Sat, 25 Mar 2023 19:09:17 +0100 Subject: [PATCH] added basic doc --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index e69de29..997ef2e 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,18 @@ +# AG Server Borgmatic Config + +Setup with: +``` +borgmatic rcreate -c ag-backup.yaml -e repokey +``` + +Backup command: +``` +borgmatic -c ag-backup.yaml -v 1 --progres --stats +``` + +For this 'pull method' to work I needed to add the following line to the servers `/etc/sudoers`: +``` +# Allow /usr/lib/openssh/sftp-server for sshfs mounts as root +%sudo ALL=(ALL) NOPASSWD: /usr/lib/openssh/sftp-server +``` +