fix: restic paths

This commit is contained in:
Strix 2023-10-18 18:07:29 +02:00
parent c60680b0d5
commit 282fa2fe68
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ ntfy() {
ntfy -m "performing backup..."
if restic \
-r "sftp://ixvd_backup_storage//backups/restic-$(hostname)" \
-r "sftp://ixvd_backup_storage//$(hostname)" \
-p "/neb/secrets/restic/$(hostname).secret" \
backup \
--tag auto \

View file

@ -6,7 +6,7 @@ ntfy() {
ntfy -m "forgetting old backups..."
if restic \
-r "sftp://ixvd_backup_storage//backups/restic-$(hostname)" \
-r "sftp://ixvd_backup_storage//$(hostname)" \
-p "/etc/ixvd/secrets/restic/$(hostname).secret" \
forget \
--keep-last 10 \

View file

@ -6,7 +6,7 @@ ntfy() {
ntfy -m "pruning old backups..."
if restic \
-r "sftp://ixvd_backup_storage//backups/restic-$(hostname)" \
-r "sftp://ixvd_backup_storage//$(hostname)" \
-p "/etc/ixvd/secrets/restic/$(hostname).secret" \
prune; then
notify -m "pruning succeeded"