fixed structure

This commit is contained in:
2026-05-17 06:34:17 +05:30
parent 5ce03220d4
commit 59c4b7a949
14 changed files with 433 additions and 3 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Managed by Ansible — do not edit manually
export B2_ACCOUNT_ID="{{ b2_account_id | default('YOUR_KEY_ID') }}"
export B2_ACCOUNT_KEY="{{ b2_account_key | default('YOUR_APPLICATION_KEY') }}"
export RESTIC_PASSWORD="{{ restic_password | default('YOUR_BACKUP_PASSWORD') }}"
REPO="b2:{{ b2_bucket | default('your-bucket') }}:/backup"
restic -r "$REPO" backup \
--exclude /home/papyrus/apps/navidrome/music \
/var/lib/docker/volumes \
/srv/secrets \
/home/papyrus/apps
restic -r "$REPO" forget --keep-last 7 --keep-weekly 4 --prune