Posts Tagged ‘backup’

On the fly compression of a tar-ball or mysqldump


2010
07.14

Just to jot it down lest I forget:

Tar’ing the local directory and streaming the tarball straight to gzip:

tar cvf - . | gzip > target.tar.gz

MySQLdump’ing directly to gzip: (more…)