backupscript/config.example.yml

27 lines
857 B
YAML
Raw Normal View History

2023-05-26 11:47:40 +00:00
notification:
2023-06-13 08:15:29 +00:00
- type: Ntfy
2023-06-12 09:30:10 +00:00
domain: https://ntfy.jcktrue.dk
2023-07-10 07:47:28 +00:00
topic: testing
2023-07-04 10:15:34 +00:00
log: output.log
2023-05-31 09:00:20 +00:00
rclone:
2023-06-12 09:30:10 +00:00
options:
bwlimit: 6M
2023-05-26 11:47:40 +00:00
backup:
- title: Example
2023-05-31 14:34:35 +00:00
source: temp/source
destination: temp/destination
2023-05-26 11:47:40 +00:00
templates:
notify: |
{{ 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 }}
2023-08-29 09:44:05 +00:00
error: |
{{ config.title }}
Error {{ config.source }} to {{ config.destination }}
{{ exception }}