kopia_backup: set zstd as the global compression policy on every run
This commit is contained in:
@@ -35,6 +35,10 @@ dump() { # file, container, command run inside the container
|
||||
dump {{ d.file | quote }} {{ d.container | quote }} {{ d.command | quote }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
# Global policy of the repository, inherited by every source; the repository is shared by all hosts of the bucket
|
||||
kopia policy set --global --compression=zstd >/dev/null 2>&1 ||
|
||||
{ echo "setting the global compression failed" >&2; failed=1; }
|
||||
{% set ignores = kopia_backup.ignore | dict2items | rejectattr('value', 'none') | list %}
|
||||
{% if ignores %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user