neb/common/restic/prune.sh
2023-10-18 01:31:05 +02:00

13 lines
247 B
Bash

#!/bin/sh
notify() {
curl \
-X POST \
-H "Title: $0" \
-H "Priority: urgent" \
-H "Tags: warning" \
-d "$(hostname): $@" \
https://push.ixvd.net/infra-backups
}
notify "pruning old backups..."