14 lines
247 B
Bash
14 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..."
|