mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-09 16:20:29 +01:00
8dfdd14527
* Added custom notification messages using text/template * Change notification template path and removed automatic newline trim * Added stats and changed structure of template params * Stat file hotfix * Embedded and fixed default notification templates Fix * Changed Output to LogOutput * Changed stats integer to unsigned * Bytes formatting in template func fix * Changed Archives to Storages * Removed unecessary sleep for pruning leeway * Set EndTime after pruning is completed * Added custom notifications documentation * Added 5s sleep in swarm test * Fixed documentation * Dockerfile copies all files in cmd/backup
27 lines
521 B
Cheetah
27 lines
521 B
Cheetah
{{ define "title_failure" -}}
|
|
Failure running docker-volume-backup at {{ .Stats.StartTime | formatTime }}
|
|
{{- end }}
|
|
|
|
|
|
{{ define "body_failure" -}}
|
|
Running docker-volume-backup failed with error: {{ .Error }}
|
|
|
|
Log output of the failed run was:
|
|
|
|
{{ .Stats.LogOutput }}
|
|
{{- end }}
|
|
|
|
|
|
{{ define "title_success" -}}
|
|
Success running docker-volume-backup at {{ .Stats.StartTime | formatTime }}
|
|
{{- end }}
|
|
|
|
|
|
{{ define "body_success" -}}
|
|
Running docker-volume-backup succeeded.
|
|
|
|
Log output was:
|
|
|
|
{{ .Stats.LogOutput }}
|
|
{{- end }}
|