/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-DesktopBackupCompression.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-DesktopBackupCompression.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jul 3 01:15:22 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-72_el5_sme, e-smith-backup-2_2_0-66_el5_sme, e-smith-backup-2_2_0-65_el5_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-backup-2_2_0-88_el5_sme, e-smith-backup-2_2_0-74_el5_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_2_0-87_el5_sme, e-smith-backup-2_2_0-64_el5_sme, e-smith-backup-2_2_0-81_el5_sme, e-smith-backup-2_2_0-68_el5_sme, e-smith-backup-2_2_0-86_el5_sme, e-smith-backup-2_2_0-71_el5_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_2_0-73_el5_sme, e-smith-backup-2_2_0-79_el5_sme, e-smith-backup-2_2_0-75_el5_sme, e-smith-backup-2_2_0-76_el5_sme, e-smith-backup-2_2_0-67_el5_sme, e-smith-backup-2_2_0-70_el5_sme, e-smith-backup-2_2_0-77_el5_sme, e-smith-backup-2_2_0-85_el5_sme, e-smith-backup-2_2_0-69_el5_sme, HEAD
* Tue Jul 02 2013 Ian Wells <esmith@wellsi.com> 2.2.0-64.sme
- Desktop Backup, allow user setting of compression level  [SME: 7723]

1 diff -ruN e-smith-backup-2.2.0.old/root/etc/e-smith/web/functions/backup e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup
2 --- e-smith-backup-2.2.0.old/root/etc/e-smith/web/functions/backup 2013-07-02 17:46:47.000000000 -0700
3 +++ e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup 2013-07-02 17:54:10.000000000 -0700
4 @@ -458,6 +458,7 @@
5 BackupType => 'desktop',
6 StartEpochTime => $now,
7 });
8 + my $CompressionLevel = $conf->get_prop("backupconsole", "CompressionLevel") || "-6";
9
10 # Dump the current mysql tables so that they are part of the image.
11 # The events handle cases where mysqld is not enabled, and/or is
12 @@ -493,7 +494,7 @@
13
14 open(RD,
15 "/bin/tar --directory / --create @directories --file=-"
16 - . " | /usr/bin/gzip |"
17 + . " | /usr/bin/gzip $CompressionLevel |"
18 );
19
20 while (<RD>)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed