I am using (trying) gzip to compress an SQL file in an rsyncable way in order to transfer the backup with minimal delay.
However it appears that this is not working, since the speedup is always 1.00.
The archive is created by dumping the database to a .sql
file and then issuing gzip -f3 --rsyncable file.sql
.
Next the remote machine does an rsync against the last backup with the following flags:
rsync -avhhiP --inplace
Why might my speedup be 1.00? Should I not be recreating the archive each time and instead updating it perhaps? I have seen no mention of this method from online guidance about the usage of the --rsyncable flag.
I am using:
# gzip -V
gzip 1.5
--rsyncable
is not listed in thegzip --help
, the command doesn't support that option. I also have gzip 1.5 (Gentoo) and it doesn't have that option. The presence of--rsyncable
option depends on whether the distribution has applied the patch that adds the option. Which distribution do you have?--help
output and the manpage, one mentions it but not the other although I'm not sure which specifically. This is onDebian wheezy
.--rsyncable
IS in the help output, but it's not in the manpage.