diff --git a/common/restic/backup.sh b/common/restic/backup.sh index eded6dd..aebb9de 100644 --- a/common/restic/backup.sh +++ b/common/restic/backup.sh @@ -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 \ diff --git a/common/restic/forget.sh b/common/restic/forget.sh index 8119eb0..5437567 100644 --- a/common/restic/forget.sh +++ b/common/restic/forget.sh @@ -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 \ diff --git a/common/restic/prune.sh b/common/restic/prune.sh index b62b874..9fe276c 100644 --- a/common/restic/prune.sh +++ b/common/restic/prune.sh @@ -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"