ansible-backup icon indicating copy to clipboard operation
ansible-backup copied to clipboard

Breaking change since using community.general.archive: the functionality of excludes is different

Open elburro1887 opened this issue 2 years ago • 0 comments

Just wanted to let you know that the way of specifying excludes is now different, since your lib has switched to using community.general.archive. My backups were getting extremely large at one point, and I saw it was because of this.

The path and exclude_path variable from archive now take globs/wildcards so the old way of specifying paths doesn't work anymore.

~~Also, excluding subdirectories below the 2nd level is not possible, due to a bug i have filed here: https://github.com/ansible-collections/community.general/issues/6857~~ This is actually not a bug, it was my failure to understand how it works. But the issue here still persists since its a breaking change.

elburro1887 avatar Jul 05 '23 21:07 elburro1887