Add borg
This commit is contained in:
parent
31744304a1
commit
18ef613556
7 changed files with 33 additions and 0 deletions
2
roles/borg/templates/backup.j2
Normal file
2
roles/borg/templates/backup.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cd {{ server.work_dir }} && borg create --stats -C zstd,22 --progress "{{ server.backup_dir }}::$(date --iso-8601=seconds)" .
|
Loading…
Add table
Add a link
Reference in a new issue