run all backup tasks in a slice

This commit is contained in:
Jef Roosens 2026-04-20 21:53:11 +02:00
parent d351573a3b
commit 4c54a80122
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
6 changed files with 61 additions and 3 deletions

View file

@ -3,7 +3,7 @@
#
# All types:
# name: (required) unique identifier, used in unit and script filenames
# type: (required) backup template to use: btrfs-subvolume, podman-postgres, postgres
# type: (required) backup template to use: btrfs-subvolume, podman-mysql, podman-postgres, postgres, echo-test
# user: (optional) user to run the backup as; defaults to root
# group: (optional) group to run the backup as; defaults to backups
# timer_delay_sec: (optional) RandomizedDelaySec for the timer; defaults to 30 minutes
@ -11,6 +11,12 @@
# btrfs-subvolume:
# path: (required) path to the btrfs subvolume to back up
#
# podman-mysql:
# container: (required) name of the podman container running mysql/mariadb
# mysql_user: (required) mysql user to connect as
# mysql_password: (required) mysql password for the user
# database: (required) mysql database to dump
#
# podman-postgres:
# container: (required) name of the podman container running postgres
# pg_user: (required) postgres user to connect as
@ -20,6 +26,10 @@
# pwd: (required) working directory for podman compose
# user: (required) postgres user to connect as
# database: (required) postgres database to dump
#
# echo-test:
# lines: (optional) number of log lines to emit; defaults to 10
# interval_sec: (optional) seconds to sleep between lines; defaults to 1
backups: []
# Restic REST server URL to publish backups to