From d248d4ba0043803cf2748866cb60d2305b5af8f1 Mon Sep 17 00:00:00 2001 From: Raine Date: Wed, 18 Oct 2023 22:50:49 +0200 Subject: [PATCH] fix: update scripts --- skel/opt/scripts/restic/backup.sh | 2 +- skel/opt/scripts/restic/forget.sh | 2 +- skel/opt/scripts/restic/prune.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skel/opt/scripts/restic/backup.sh b/skel/opt/scripts/restic/backup.sh index 071170f..f04f17b 100644 --- a/skel/opt/scripts/restic/backup.sh +++ b/skel/opt/scripts/restic/backup.sh @@ -6,7 +6,7 @@ ntfy() { ntfy -m "performing backup..." if restic \ - -r "sftp://ixvd_backup_storage//$(hostname)" \ + -r "/mnt/backup/restic/$(hostname)" \ -p "/neb/secrets/restic/$(hostname).secret" \ backup \ --tag auto \ diff --git a/skel/opt/scripts/restic/forget.sh b/skel/opt/scripts/restic/forget.sh index 6a816f7..3eac264 100644 --- a/skel/opt/scripts/restic/forget.sh +++ b/skel/opt/scripts/restic/forget.sh @@ -6,7 +6,7 @@ ntfy() { ntfy -m "forgetting old backups..." if restic \ - -r "sftp://ixvd_backup_storage//$(hostname)" \ + -r "/mnt/backups/restic/$(hostname)" \ -p "/etc/ixvd/secrets/restic/$(hostname).secret" \ forget \ --keep-last 10 \ diff --git a/skel/opt/scripts/restic/prune.sh b/skel/opt/scripts/restic/prune.sh index e112cec..4f9f5e1 100644 --- a/skel/opt/scripts/restic/prune.sh +++ b/skel/opt/scripts/restic/prune.sh @@ -6,7 +6,7 @@ ntfy() { ntfy -m "pruning old backups..." if restic \ - -r "sftp://ixvd_backup_storage//$(hostname)" \ + -r "/mnt/backups/restic/$(hostname)" \ -p "/etc/ixvd/secrets/restic/$(hostname).secret" \ prune; then notify -m "pruning succeeded"