1 |
wellsi |
1.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>) |