Should rdiff-backup compress increments?
Ben Escoto
bescoto@stanford.edu
Thu, 21 Mar 2002 12:56:34 -0800
--==_Exmh_1739236352P
Content-Type: text/plain; charset=us-ascii
It seems it might be worthwhile for rdiff-backup to compress
increments. So instead of writing
foo.2002-03-21T04:22:01-07:00.snapshot
bar.2002-03-21T04:22:01-07:00.diff
which are just a copy of foo and an uncompressed diff of bar, write
foo.2002-03-21T04:22:01-07:00.snapshot.gz
bar.2002-03-21T04:22:01-07:00.diff.gz
which are those files compressed with gzip or whatever.
There shouldn't be any problems with backwards compatibility, but
older versions wouldn't be able to recognize the *.gz files as
increments, so this would be the first break of forwards compatibility
since rdiff-backup's inception.
I suppose there should be various options, so that rdiff-backup
doesn't compress files already ending in gz, bz2, rpm, etc. It
probably also isn't worth it to compress small files (less than 4kb
maybe)?
--
Ben Escoto
--==_Exmh_1739236352P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001
iD8DBQE8mkkA+owuOvknOnURAm/5AJ9h0d/Phov+KA1bLB1du8pBGHDcZQCfX4U9
aaUz5tK/sY51BkMs0FXRz+M=
=doq4
-----END PGP SIGNATURE-----
--==_Exmh_1739236352P--