ansible-backup
ansible-backup copied to clipboard
Breaking change since using community.general.archive: the functionality of excludes is different
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.