diff --git a/skel/etc/ixvd/version b/skel/etc/ixvd/version index d8263ee..e440e5c 100644 --- a/skel/etc/ixvd/version +++ b/skel/etc/ixvd/version @@ -1 +1 @@ -2 \ No newline at end of file +3 \ No newline at end of file diff --git a/skel/opt/scripts/restic/backup.sh b/skel/opt/scripts/restic/backup.sh index 940e7d8..37c213f 100755 --- a/skel/opt/scripts/restic/backup.sh +++ b/skel/opt/scripts/restic/backup.sh @@ -4,14 +4,14 @@ ntfy() { bash /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" } -ntfy -m "performing backup..." -p 2 +ntfy -m "performing backup..." -p 1 if restic \ -r "/mnt/backups/restic/$(hostname)" \ -p "/etc/ixvd/secrets/restic/$(hostname).secret" \ backup \ --tag auto \ /srv /home /etc; then - ntfy -m "backup succeeded" -p 2 + ntfy -m "backup succeeded" -p 1 else ntfy -m "backup failed" -e "warning,skull" -p 5 fi \ No newline at end of file diff --git a/skel/opt/scripts/restic/prune.sh b/skel/opt/scripts/restic/prune.sh index c7fa423..49f31d2 100755 --- a/skel/opt/scripts/restic/prune.sh +++ b/skel/opt/scripts/restic/prune.sh @@ -4,7 +4,7 @@ ntfy() { bash /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" } -ntfy -m "pruning old backups..." +ntfy -m "pruning old backups..." -p 3 if restic \ -r "/mnt/backups/restic/$(hostname)" \ -p "/etc/ixvd/secrets/restic/$(hostname).secret" \