diff options
author | intrigeri <intrigeri@boum.org> | 2009-11-19 20:27:46 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-11-19 20:27:46 +0100 |
commit | f9672647177f771270f40a858fb94283ff1ebcdf (patch) | |
tree | ed5401118f00344405409144825ecd919ba29214 /handlers/mysql.in | |
parent | 75d17d06f276ad1aa435d7dc31777677b10917b4 (diff) | |
download | backupninja-f9672647177f771270f40a858fb94283ff1ebcdf.tar.gz backupninja-f9672647177f771270f40a858fb94283ff1ebcdf.tar.bz2 |
ldap, mysql, pgsql: use gzip's --rsyncable option
Diffstat (limited to 'handlers/mysql.in')
-rw-r--r-- | handlers/mysql.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/mysql.in b/handlers/mysql.in index 88ffb1a..e1e89b0 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -272,7 +272,7 @@ then fatal "mysqld doesn't appear to be running!" fi if [ "$compress" == "yes" ]; then - execstr="$VSERVER $vsname exec $DUMP | $GZIP > $vroot$dumpdir/${db}.sql.gz" + execstr="$VSERVER $vsname exec $DUMP | $GZIP --rsyncable > $vroot$dumpdir/${db}.sql.gz" else execstr="$VSERVER $vsname exec $DUMP -r $vroot$dumpdir/${db}.sql" fi @@ -283,7 +283,7 @@ then fatal "mysqld doesn't appear to be running!" fi if [ "$compress" == "yes" ]; then - execstr="$DUMP | $GZIP > $dumpdir/${db}.sql.gz" + execstr="$DUMP | $GZIP --rsyncable > $dumpdir/${db}.sql.gz" else execstr="$DUMP -r $dumpdir/${db}.sql" fi |