scroll-backup
Version:
Configurable backup system with rsync and restic backends
32 lines (30 loc) • 917 B
YAML
## scroll configuration file
## 2023 nn <0E9B061F@protonmail.com>
## Don't forget to enter your password in the key file:
## /etc/scroll/key
## For dual booting, specify the OS as subhost
subhost: Arch
## Define one or more repositories to backup to
repos:
local: /backups/restic
## Define one or more targets to be backed up along with their pruning policies
targets:
etc:
path: /etc
policy: --keep-daily 30 --keep-weekly 12 --keep-monthly 6 --keep-yearly 1
disks:
path:
- /mnt/d1
- /mnt/d2
exclude:
- /mnt/d1/file1
- /mnt/d1/file2
policy: --keep-daily 30 --keep-weekly 12 --keep-monthly 6 --keep-yearly 1
## Configure mail notifications
mail:
host: smtp.forwardemail.net
port: 465
secure: true
user: REPLACE-WITH-YOUR-ALIAS@YOURDOMAIN.COM
pass: REPLACE-WITH-YOUR-GENERATED-PASSWORD
to: recipient@example.com