27 lines
853 B
YAML
27 lines
853 B
YAML
notifikation:
|
|
- type: Ntfy
|
|
domain: https://ntfy.jcktrue.dk
|
|
topic: testing
|
|
logger: output.log
|
|
rclone:
|
|
option:
|
|
bwlimit: 6M
|
|
backup:
|
|
- titel: Example
|
|
src: temp/source
|
|
dest: temp/destination
|
|
template:
|
|
notification: |
|
|
{{ config.title }}
|
|
From {{ config.source }} to {{ config.destination }}
|
|
Backup started: {{ start | date }}
|
|
Source size: {{ source_size | formatBytes}}
|
|
Destination before: {{ destination_size_before | formatBytes}}
|
|
Destination after: {{ destination_size_after | formatBytes}}
|
|
Destination change : {{ (destination_size_after - destination_size_before) | formatBytes}}
|
|
Backup completed: {{ end | date }}
|
|
warn: |
|
|
{{ config.title }}
|
|
Error {{ config.source }} to {{ config.destination }}
|
|
{{ exception }}
|