implement backup module and use on ytnix
This commit is contained in:
parent
71ced36b83
commit
f23cc43287
5 changed files with 129 additions and 55 deletions
|
@ -48,11 +48,11 @@
|
|||
# warnings are often not that serious
|
||||
failOnWarnings = false;
|
||||
postHook = ''
|
||||
${pkgs.curl}/bin/curl -u $(cat ${
|
||||
${pkgs.curl}/bin/curl -O /dev/null -u $(cat ${
|
||||
config.sops.secrets."services/ntfy".path
|
||||
}) -d "chunk: backup completed with exit code: $exitStatus
|
||||
$(journalctl -u borgbackup-job-crashRsync.service|tail -n 5)" \
|
||||
https://ntfy.cything.io/chunk
|
||||
$(journalctl --output-fields=MESSAGE -o cat -qu borgbackup-job-crashRsync.service |tail -n 10)
|
||||
" https://ntfy.cything.io/ytnix
|
||||
'';
|
||||
|
||||
prune.keep = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue