server-backup-config/README.md

19 lines
398 B
Markdown
Raw Permalink Normal View History

2023-03-25 18:09:17 +00:00
# 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
```