backupscript/config.example.yml
Jens True 0f3bbf1f47
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
More codestandards.
2023-06-12 09:30:10 +00:00

24 lines
726 B
YAML

notification:
Ntfy:
domain: https://ntfy.jcktrue.dk
topic: backup
log: output.log
rclone:
options:
bwlimit: 6M
backup:
- title: Example
source: temp/source
destination: temp/destination
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 }}