Add in a pile of other machines to rdiff-backup. It's going to take it many days. ;)

This commit is contained in:
Kevin Fenzi 2013-08-15 17:36:14 +00:00
parent 7f8431a0d1
commit c53359f4fa
8 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/srv']

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/backups']

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/srv']

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/srv']

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/var/log']

View file

@ -0,0 +1,2 @@
---
host_backup_targets: ['/srv']

View file

@ -47,9 +47,18 @@ ask01.stg.phx2.fedoraproject.org
backup02.fedoraproject.org
backup03.phx2.fedoraproject.org
#
# This is the list of clients we backup with rdiff-backup.
#
[backup_clients]
people03.vpn.fedoraproject.org
collab04.vpn.fedoraproject.org
db01.phx2.fedoraproject.org
hosted04.vpn.fedoraproject.org
hosted-lists01.vpn.fedoraproject.org
lockbox01.phx2.fedoraproject.org
people03.vpn.fedoraproject.org
pkgs01.phx2.fedoraproject.org
log02.phx2.fedoraproject.org
[badges-backend]
badges-backend01.phx2.fedoraproject.org

View file

@ -20,11 +20,11 @@
tasks:
- name: run rdiff-backup hitting all the global targets
local_action: "shell rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
local_action: "shell rdiff-backup --create-full-path --print-statistics ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
with_items: $global_backup_targets
when: global_backup_targets is defined
- name: run rdiff-backup hitting all the host targets
local_action: "shell rdiff-backup ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
local_action: "shell rdiff-backup --create-full-path --print-statistics ${inventory_hostname}::${item} /fedora_backups/${inventory_hostname}/`basename ${item}`"
with_items: $host_backup_targets
when: host_backup_targets is defined