diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-06-29 20:56:50 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-06-29 20:56:50 +0200 |
| commit | 66e46df3d2a840bf62ef8084ad171041772db65e (patch) | |
| tree | a06192c5689ebf70e739941c1608c406b4b7ee2f /defaults | |
| parent | a0432093db76d7bb462f113d4bbeca0a8f376e95 (diff) | |
| download | ansible-role-borgbackup-66e46df3d2a840bf62ef8084ad171041772db65e.tar.gz ansible-role-borgbackup-66e46df3d2a840bf62ef8084ad171041772db65e.zip | |
Support custom arguments for borg create
Diffstat (limited to 'defaults')
| -rw-r--r-- | defaults/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 2d71d58..c508975 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -121,6 +121,14 @@ borg_backup_name_format: "{hostname}-{now:%Y-%m-%dT%H:%M:%S}" # https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-help-compression borg_compression: zstd +# Additional arguments passed to `borg create`. +# These are appended to the command line after all role-defined options, +# allowing user-specified options to override defaults. +# Examples: "--stats --list --filter=AME" or "--one-file-system --exclude-caches" +# Note: If you specify -C/--compression here, it will override borg_compression. +# See: https://borgbackup.readthedocs.io/en/stable/usage/create.html +borg_create_additional_arguments: "" + # This is a list of files and directories to be backed up in the systemd job. # In case you leave this empty, the role will not create an automatic backup job borg_included_dirs: [] |