forked from lab-cat/server-backup-config
added basic doc
This commit is contained in:
parent
c6a1946ef8
commit
6d14a4b8e8
1 changed files with 18 additions and 0 deletions
18
README.md
18
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
|
||||
```
|
||||
|
Loading…
Reference in a new issue