[TriLUG] Using gzip to backup postgres to tape

Andrew Perrin clists at perrin.socsci.unc.edu
Mon Nov 27 14:45:07 EST 2006


perrin:~# su postgres -c '/usr/bin/pg_dump leted | tar -czf /dev/nst0 -'
tar: -: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors


----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl



On Mon, 27 Nov 2006, Joseph Mack NA3T wrote:

> On Mon, 27 Nov 2006, Andrew Perrin wrote:
>
>> Thanks, but gzip actually handles tar format fine;
>
> yes of course (doh).
>
> o gzip handles tar format
>
> o the tape drive wants tar format.
>
> I don't have a tape drive to test this on, so I hope I'm not wasting your 
> time, but you didn't tell me what happened with
>
>>> /usr/bin/pg_dump leted | tar -czf /dev/nst0 -
>
> 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!
> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list