Add a pre_command to kopia_backup for host dump scripts and install gpg for the apt key

This commit is contained in:
2026-10-08 08:51:23 +00:00
parent b45a07da56
commit d345ccf585
3 changed files with 11 additions and 0 deletions
+2
View File
@@ -15,6 +15,8 @@ kopia_backup:
sources: []
# source path -> ignore rules, replacing the policy rules on every run (null drops one).
ignore: {}
# Command run first, e.g. a host script writing dumps into a source; a failure fails the run, the snapshot still runs.
pre_command: ""
# Database dumps written to /var/backups/dumps before the snapshot, which then includes that directory.
# Each item: file, container, command (run with sh -c inside the container, output is the dump).
dumps: []