Skip to content

Commit e6ee711

Browse files
authored
Merge pull request #13 from samdbmg/fix/add-missing-cron-command
Add missing subcommand in cron
2 parents 602dcc3 + c856131 commit e6ee711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/duplicity-backup.cron.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 %}

0 commit comments

Comments
 (0)