[TriLUG] Using gzip to backup postgres to tape

Joseph Mack NA3T jmack at wm7d.net
Wed Nov 29 09:38:08 EST 2006


On Wed, 29 Nov 2006, Andrew Perrin wrote:

> OK gang, I figured it out... sometimes it just takes a really old book like 
> _Essential System Administration_, 1st ed., to work on these things.

yow, I can't remember when I last used mt on a tape (or used 
a tape for that matter)

Do you know why tar doesn't do it?

> The dd command takes the gzipped input and pads it (that's what conv=sync 
> means) to the output block size, in this case 512, which can be discovered 
> using mt -f /dev/nst0 status.

presumably only the last block needs to be padded?

Thanks Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list