Adjust backup excludes to be more right.
This commit is contained in:
parent
274d7993ce
commit
8baa7720e7
1 changed files with 1 additions and 1 deletions
|
@ -25,6 +25,6 @@
|
|||
when: global_backup_targets is defined
|
||||
|
||||
- name: run rdiff-backup hitting all the host targets
|
||||
local_action: "shell rdiff-backup --exclude='git-seed*.xz' --exclude='git_seed'--exclude='**.snapshot' --create-full-path --print-statistics {{ inventory_hostname }}::{{ item }} /fedora_backups/{{ inventory_hostname }}/`basename {{ item }}` | mail -r sysadmin-backup-members@fedoraproject.org -s 'rdiff-backup: {{ inventory_hostname }}:{{ item }}' sysadmin-backup-members@fedoraproject.org"
|
||||
local_action: "shell rdiff-backup --exclude='**git-seed*' --exclude='**git_seed' --exclude='**.snapshot' --create-full-path --print-statistics {{ inventory_hostname }}::{{ item }} /fedora_backups/{{ inventory_hostname }}/`basename {{ item }}` | mail -r sysadmin-backup-members@fedoraproject.org -s 'rdiff-backup: {{ inventory_hostname }}:{{ item }}' sysadmin-backup-members@fedoraproject.org"
|
||||
with_items: host_backup_targets
|
||||
when: host_backup_targets is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue