diff options
author | Gabe <redhatrises@gmail.com> | 2014-05-28 17:16:04 -0600 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-05-30 08:15:22 +0200 |
commit | 9f2c4705d7e2fa83be95f005a78f83a399acfa72 (patch) | |
tree | 56c7f53299a0d80f5e3ed030080f2ea365b34aa3 /ipaserver/install/ipa_backup.py | |
parent | 4f89decc9a6020cbacbfa4406f32ce5465d49a72 (diff) | |
download | freeipa-9f2c4705d7e2fa83be95f005a78f83a399acfa72.tar.gz freeipa-9f2c4705d7e2fa83be95f005a78f83a399acfa72.tar.xz freeipa-9f2c4705d7e2fa83be95f005a78f83a399acfa72.zip |
ipa recursively adds old backups
- Added exclude for the ipa backup folder to the files tar
https://fedorahosted.org/freeipa/ticket/4331
Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipaserver/install/ipa_backup.py')
-rw-r--r-- | ipaserver/install/ipa_backup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py index 37b7a2569..1da272fe9 100644 --- a/ipaserver/install/ipa_backup.py +++ b/ipaserver/install/ipa_backup.py @@ -460,6 +460,7 @@ class Backup(admintool.AdminTool): self.log.info("Backing up files") args = ['tar', + '--exclude=/var/lib/ipa/backup', '--xattrs', '--selinux', '-czf', |