Add all backup hosts to borg backups

Backups have been going well on ethercalc02, so add borg backup runs
to all backed-up servers.  Port in some additional excludes for Zuul
and slightly modify the /var/ matching.

Change-Id: Ic3adfd162fa9bedd84402e3c25b5c1bebb21f3cb
changes/55/761855/2
Ian Wienand 2 years ago
parent 4b98fa0a00
commit d533e89089
  1. 11
      inventory/service/groups.yaml
  2. 3
      inventory/service/host_vars/zuul01.openstack.org
  3. 2
      playbooks/roles/borg-backup/defaults/main.yaml
  4. 1
      playbooks/roles/install-ansible/files/inventory_plugins/test-fixtures/results.yaml

@ -36,7 +36,18 @@ groups:
backup-server:
- backup01.ca-ymq-1.vexxhost.opendev.org
borg-backup:
- etherpad[0-9]*.opendev.org
- gitea01.opendev.org
- review[0-9]*.openstack.org
- review-dev[0-9]*.open*.org
- zuul[0-9]*.open*.org
# All these servers are "special-cased" in specifically
# as they are puppet and should be replaced "soon"
- ethercalc02.openstack.org
- ask01.openstack.org
- lists.openstack.org
- storyboard01.opendev.org
- translate01.openstack.org
borg-backup-server:
- backup02.ca-ymq-1.vexxhost.opendev.org
- backup01.ord.rax.opendev.org

@ -3,3 +3,6 @@ letsencrypt_certs:
zuul-opendev-main:
- zuul.opendev.org
- zuul.openstack.org
borg_backup_excludes_extra:
- /var/lib/zuul/backup/*
- /var/lib/zuul/times/*

@ -3,6 +3,8 @@ borg_backup_excludes:
- '/home/*.cache/*'
- '/var/cache/*'
- '/var/tmp/*'
- '/var/run/*'
- '/var/lock/*'
- '/var/lib/lxcfs/*'
- '/var/lib/docker/*'
borg_backup_excludes_extra: []

@ -45,6 +45,7 @@ results:
review01.openstack.org:
- backup
- borg-backup
- gerrit
- letsencrypt
- review

Loading…
Cancel
Save