72eeb7548c
If borg sees an ansible tmp file just before it is removed by ansible then we can get errors of this form when running borg: stat: [Errno 2] No such file or directory: '/root/.ansible/tmp/ansible-tmp-$IDENTIFIER' This causes the backup run to report failure. Address this by adding /root/.ansible/tmp/* to our borg backup excludes list. Change-Id: Ie2c7081a4510959f6514b1cb7eb8facc4ac129fb
27 lines
487 B
YAML
27 lines
487 B
YAML
borg_backup_excludes:
|
|
- '/etc/puppet*'
|
|
- '/etc/project-config/*'
|
|
- '/home/*.cache/*'
|
|
- '/root/*.cache/*'
|
|
- '/root/.ansible/tmp/*'
|
|
- '/root/.bup*'
|
|
- '/var/cache/*'
|
|
- '/var/tmp/*'
|
|
- '/var/run/*'
|
|
- '/var/lock/*'
|
|
- '/var/spool/*'
|
|
- '/var/lib/lxcfs/*'
|
|
- '/var/lib/docker/*'
|
|
- '/var/lib/containerd/*'
|
|
- '/var/lib/mlocate/*'
|
|
- '/var/lib/snapd/*'
|
|
borg_backup_excludes_extra: []
|
|
|
|
borg_backup_dirs:
|
|
- /etc
|
|
- /home
|
|
- /root
|
|
- /var
|
|
borg_backup_dirs_extra: []
|
|
|