mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-04-29 18:06:19 +02:00
Update backup script to use wrapped restic
This commit is contained in:
parent
bd61f4dc2b
commit
16e2943397
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ export RESTIC_PASSWORD_FILE=/var/run/secrets/restic/password
|
|||
export AWS_ACCESS_KEY_ID="$(cat /var/run/secrets/restic/aws_id)"
|
||||
export AWS_SECRET_ACCESS_KEY="$(cat /var/run/secrets/restic/aws_secret)"
|
||||
|
||||
restic backup --iexclude-file ./backup-iexclude.list --exclude-file ./backup-exclude.list --files-from ./backup.list --exclude-if-present ".nobackup" --exclude-if-present ".git" --exclude-if-present ".nextcloudsync.log" --exclude-if-present ".owncloudsync.log" --tag nixos
|
||||
restic forget --prune --keep-last 10 --keep-daily 14 --keep-weekly 10 --keep-monthly 24 --keep-yearly 100
|
||||
/run/wrappers/bin/restic backup --iexclude-file ./backup-iexclude.list --exclude-file ./backup-exclude.list --files-from ./backup.list --exclude-if-present ".nobackup" --exclude-if-present ".git" --exclude-if-present ".nextcloudsync.log" --exclude-if-present ".owncloudsync.log" --tag nixos
|
||||
/run/wrappers/bin/restic forget --prune --keep-last 10 --keep-daily 14 --keep-weekly 10 --keep-monthly 24 --keep-yearly 100
|
||||
|
||||
popd
|
Loading…
Add table
Reference in a new issue