File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Cronjobs for scheduled backups with Duplicity
22{% for item in duplicity_target_paths %}
3- {{ backup_schedule }} {{ backup_cronjob_user }} . /etc/{{ duplicity_install_name }}-backup.env; {{ duplicity_binary }} -v warning --full-if-older-than {{ full_backup_after }} --no-print-statistics {{ item.path }} {{ (item.backup_url_stem | default(backup_url_stem)).rstrip('/') }}/{{ (item.name | default(item.path)).strip('/') }}; {{ duplicity_binary }} -v error remove-older-than {{ delete_backups_after }} --force {{ (item.backup_url_stem | default(backup_url_stem)).rstrip('/') }}/{{ (item.name | default(item.path)).strip('/') }}
3+ {{ backup_schedule }} {{ backup_cronjob_user }} . /etc/{{ duplicity_install_name }}-backup.env; {{ duplicity_binary }} -v warning backup --full-if-older-than {{ full_backup_after }} --no-print-statistics {{ item.path }} {{ (item.backup_url_stem | default(backup_url_stem)).rstrip('/') }}/{{ (item.name | default(item.path)).strip('/') }}; {{ duplicity_binary }} -v error remove-older-than {{ delete_backups_after }} --force {{ (item.backup_url_stem | default(backup_url_stem)).rstrip('/') }}/{{ (item.name | default(item.path)).strip('/') }}
44{% endfor %}
You can’t perform that action at this time.
0 commit comments