Actions
Bug #6714
closedCompress ldif backups
Added by Janos Mattyasovszky over 9 years ago. Updated over 8 years ago.
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Please compress the ldif backups on rudder-slapd restarts, as they can take a lot of diskspace uncompressed:
-rw-r--r-- 1 root root 549M Jun 8 17:39 /var/rudder/ldap/backup/openldap-data-20150608173833.ldif
vs:
-rw-r--r-- 1 root root 56M Jun 8 17:39 /var/rudder/ldap/backup/openldap-data-20150608173833.ldif.bz2
Updated by François ARMAND over 9 years ago
- Assignee set to Matthieu CERDA
- Target version set to 2.10.15
Thanks for reporting.
Matthieu, what do you think about that ?
Updated by Janos Mattyasovszky over 9 years ago
Hi,
Before: 5.5G @ backup
rudder:/var/rudder/ldap # ll -h backup/ total 5.5G -rw-r--r-- 1 root root 72K Mar 4 16:42 openldap-data-20150304164230.ldif -rw------- 1 root root 27K Mar 4 16:48 openldap-data-20150304164827.ldif -rw-r--r-- 1 root root 72K Mar 4 16:53 openldap-data-20150304165323.ldif -rw-r--r-- 1 root root 644K Mar 4 17:06 openldap-data-20150304170559.ldif -rw-r--r-- 1 root root 3.6M Apr 20 17:08 openldap-data-20150420170759.ldif -rw-r--r-- 1 root root 3.6M Apr 20 17:16 openldap-data-20150420171638.ldif -rw-r--r-- 1 root root 3.6M Apr 21 13:45 openldap-data-20150421134538.ldif -rw-r--r-- 1 root root 3.6M Apr 21 13:49 openldap-data-20150421134918.ldif -rw-r--r-- 1 root root 3.6M Apr 21 13:53 openldap-data-20150421135321.ldif -rw-r--r-- 1 root root 68M May 5 15:01 openldap-data-20150505150108.ldif -rw-r--r-- 1 root root 56M Jun 8 17:39 openldap-data-20150608173833.ldif.bz2 -rw-r--r-- 1 root root 669M Jun 26 16:55 openldap-data-20150626165401.ldif -rw-r--r-- 1 root root 669M Jun 26 17:01 openldap-data-20150626170035.ldif -rw-r--r-- 1 root root 669M Jun 26 19:04 openldap-data-20150626190332.ldif -rw-r--r-- 1 root root 674M Jun 30 12:40 openldap-data-20150630123945.ldif -rw-r--r-- 1 root root 674M Jun 30 13:02 openldap-data-20150630130228.ldif -rw-r--r-- 1 root root 676M Jul 3 04:32 openldap-data-20150703043043.ldif -rw-r--r-- 1 root root 691M Jul 4 00:50 openldap-data-20150704004947.ldif -rw-r--r-- 1 root root 673M Jun 30 12:28 openldap-data-pre-upgrade-20150630122703.ldif -rw-r--r-- 1 root root 13 Jun 30 12:28 openldap-data-pre-upgrade-20150630122703.libdb-version
Compressing:
# for i in openldap-data-2*.ldif; do pbzip2 -9 $i; done
After: 1.2G @ backup
rudder:/var/rudder/ldap/backup # ll -h total 1.2G -rw-r--r-- 1 root root 8.3K Mar 4 16:42 openldap-data-20150304164230.ldif.bz2 -rw------- 1 root root 3.6K Mar 4 16:48 openldap-data-20150304164827.ldif.bz2 -rw-r--r-- 1 root root 8.3K Mar 4 16:53 openldap-data-20150304165323.ldif.bz2 -rw-r--r-- 1 root root 65K Mar 4 17:06 openldap-data-20150304170559.ldif.bz2 -rw-r--r-- 1 root root 375K Apr 20 17:08 openldap-data-20150420170759.ldif.bz2 -rw-r--r-- 1 root root 375K Apr 20 17:16 openldap-data-20150420171638.ldif.bz2 -rw-r--r-- 1 root root 374K Apr 21 13:45 openldap-data-20150421134538.ldif.bz2 -rw-r--r-- 1 root root 374K Apr 21 13:49 openldap-data-20150421134918.ldif.bz2 -rw-r--r-- 1 root root 374K Apr 21 13:53 openldap-data-20150421135321.ldif.bz2 -rw-r--r-- 1 root root 7.0M May 5 15:01 openldap-data-20150505150108.ldif.bz2 -rw-r--r-- 1 root root 56M Jun 8 17:39 openldap-data-20150608173833.ldif.bz2 -rw-r--r-- 1 root root 66M Jun 26 16:55 openldap-data-20150626165401.ldif.bz2 -rw-r--r-- 1 root root 66M Jun 26 17:01 openldap-data-20150626170035.ldif.bz2 -rw-r--r-- 1 root root 66M Jun 26 19:04 openldap-data-20150626190332.ldif.bz2 -rw-r--r-- 1 root root 67M Jun 30 12:40 openldap-data-20150630123945.ldif.bz2 -rw-r--r-- 1 root root 67M Jun 30 13:02 openldap-data-20150630130228.ldif.bz2 -rw-r--r-- 1 root root 67M Jul 3 04:32 openldap-data-20150703043043.ldif.bz2 -rw-r--r-- 1 root root 68M Jul 4 00:50 openldap-data-20150704004947.ldif.bz2 -rw-r--r-- 1 root root 673M Jun 30 12:28 openldap-data-pre-upgrade-20150630122703.ldif -rw-r--r-- 1 root root 13 Jun 30 12:28 openldap-data-pre-upgrade-20150630122703.libdb-version
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.15 to 2.10.16
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.16 to 2.10.17
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.17 to 2.10.18
Updated by Janos Mattyasovszky about 9 years ago
- Found in version(s) old 2.11.14 added
- Found in version(s) old deleted (
2.11.7)
Updated by Janos Mattyasovszky about 9 years ago
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/756
Added PR
Updated by Vincent MEMBRÉ about 9 years ago
- Status changed from New to Pending technical review
- Assignee changed from Matthieu CERDA to Benoît PECCATTE
Many thanks Janos ;)
Assigning Benoit for technical Review :)
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.18 to 2.10.19
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.19 to 2.10.20
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.10.20 to 277
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 277 to 2.11.18
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Janos Mattyasovszky over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|a816a6ce7eb9aaf2835c6eb84ee9e875cdb05b24.
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Actions