ansible-roles/library/centos/roles/duplicity-backup/templates/duply-exclude.j2

15 lines
497 B
Django/Jinja

# although called exclude, this file is actually a globbing file list
# duplicity accepts some globbing patterns, even including ones here
# here is an example, this incl. only 'dir/bar' except it's subfolder 'foo'
# - dir/bar/foo
# + dir/bar
# - **
# for more details see duplicity manpage, section File Selection
# http://duplicity.nongnu.org/duplicity.1.html#sect9
{% for dir in duply_additional_targets %}
{{ dir }}
{% endfor %}
{% for ddir in duply_default_targets %}
{{ ddir }}
{% endfor %}