backupscript/config.example.yml
Jens True ea18b8b9b3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
More logging.
2023-07-04 10:15:34 +00:00

24 lines
745 B
YAML

notification:
- type: 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 }}