Commit Graph

15 Commits

Author SHA1 Message Date
Ian Wienand 013244fb40 Exclude /var/lib/lxcfs/*
This is some sort of loopback mounted stuff we don't want to descend
into

Change-Id: I31177bbe0c265886467e9beb029efcbdb459877f
2017-11-02 12:26:16 +11:00
Ian Wienand 7dda4149d3 Ignore postgres working directory
The database changes underneath the backup process.  We do database
dumps to /var/backups which is what we want backed up.

Change-Id: I3f925c014b26d3537c0fd119b9a6b9761ac78085
2017-11-01 10:08:44 +11:00
Clark Boylan 125460167c Don't backup /afs
/afs is a remotely hosted distributed file system and we don't need to
attempt to backup the entirety of this global filesystem from our nodes
that mount it.

The fileservers for afs should be responsible for backing up any content
that needs backups.

Change-Id: I4215c212958b1ff9e0913727c698e9c12e385ed9
2017-09-08 08:36:25 -07:00
Jenkins ed0f56e69d Merge "Don't backup /opt/system-config since it is a git repo" 2017-03-01 20:50:26 +00:00
Jenkins 91e502c0a9 Merge "Don't back cache files in /var/cache/" 2017-03-01 20:50:21 +00:00
Jenkins 585ebd4df9 Merge "Exclude /var/lib/puppet/reports/ from backups" 2017-03-01 20:49:32 +00:00
Jenkins 76ce6d843d Merge "Exclude /etc/puppet/hieradata/*" 2017-03-01 20:48:55 +00:00
Paul Belanger 36469ff106 Don't backup /opt/system-config since it is a git repo
Change-Id: I17078c4cab70229a5e11afd2de10add9a52f4ee6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:58:37 -05:00
Paul Belanger 1e2cfdc5ce Don't back cache files in /var/cache/
Change-Id: Iba5099e571a307ee9f1456f64c096c5aba51c819
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:57:25 -05:00
Paul Belanger 3656c91419 Exclude /var/lib/puppet/reports/ from backups
In an effort to reduce the size of our backups, drop puppet reports.

Change-Id: I68ee7bc88e05fdefdc14d5762b5155abb7034983
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-27 15:54:03 -05:00
Clark Boylan 6dc3abf686 Exclude bups local /root/.bup dir
Bup appears to use this to keep track of indexes between the local and
remote server. We don't need to back this up and attempting to results
in frequent errors for files being deleted before they could be backed
up.

Change-Id: I3ad4db5a44f3067478e48af65dd7991bbb391ab8
2017-02-08 12:56:06 -08:00
Paul Belanger 0970d7e3fd Exclude /etc/puppet/hieradata/*
Don't back up our hiera secrets, we already store them in git.

Change-Id: Ic9531bd7331fcfe4908827594670e8a6e30083c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-08 14:37:04 -05:00
Paul Belanger 78bd720573 Excluded /etc/puppet/modules/*
We already have our puppet modules in git, so it is likely safe we can
exclude them from backups.

Change-Id: Ib97d77c506bb2412e543e38eda71db301dee7526
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-08 14:14:13 -05:00
Clark Boylan 9171582ecc Add backup restore docs.
* doc/source/sysadmin.rst: Document how to restore from bup backups.

* modules/bup/files/etc/bup-excludes: Exclude special backup restore
dirs in /root. This prevents backup restores from being backed up
too.

Change-Id: Ide0e69c128be0a8b8774df7acaf9267df097f104
2013-09-06 13:29:04 -07:00
Paul Belanger ce457ff6cc Puppet lint fixes
Also move contents of /etc/bup-excludes into a file

Change-Id: I206c08d05114cdacb18d00e4a4578679398990ec
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15841
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-13 21:39:37 +00:00