makin' moves to sync computers

This commit is contained in:
2025-04-29 19:43:59 -07:00
parent db0d98c0d9
commit f9d22072a6
20 changed files with 97 additions and 252 deletions

View File

@@ -0,0 +1,38 @@
location:
source_directories:
- /home/*
repositories:
- ssh://opal@server/data/opal/media/backups/laptop
exclude_patterns:
- /home/*/.cache
- /home/*/.var
- /home/*/.config/emacs
- /home/*/.mozilla
- /home/*/.thunderbird
- /home/*/.w3m
- /home/*/.ansible
- /home/*/.keychain
- /home/*/.pki
storage:
encryption_passcommand: gopass show -o backups/laptop
ssh_command: ssh -i ~/.ssh/ry_ecdsa -p 46668
retention:
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
keep_yearly: 1
consistency:
checks:
- name: repository
check_last: 3
hooks:
before_backup:
- echo "Starting a backup."
after_backup:
- echo "Finished a backup."
on_error:
- echo "Error during backup."