Go to file
Peter Kannewitz 10b6c195d2 udpdatet wrong path 2023-03-30 16:24:19 +02:00
README.md readded mount info and added username info 2023-03-30 11:19:38 +02:00
ag-backup.yaml udpdatet wrong path 2023-03-30 16:24:19 +02:00
shell.nix removed borgbackup as dependency 2023-03-30 10:11:04 +02:00

README.md

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

Note:

Please substitute your ag-link-server-username for "username"@ag-link.xyz in ag-backup.yaml. Also note that server filesystem will be mounted at /tmp/mnt/ag-link-backup on your local machine.

Dependencies

Backup depends on:

  • borgmatic
  • sshfs

If you have nix installed, simply run nix-shell from this Repository.