Re: Backup to Tape Incomplete - Mailing list pgsql-admin

From Geoffrey
Subject Re: Backup to Tape Incomplete
Date
Msg-id 47C4B83E.4060408@serioustechnology.com
Whole thread Raw
In response to Re: Backup to Tape Incomplete  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Backup to Tape Incomplete
List pgsql-admin
Tom Lane wrote:
> "Phillip Smith" <phillip.smith@weatherbeeta.com.au> writes:
>> On Sun, Feb 24, 2008 at 9:20 PM, Phillip Smith
>> <phillip.smith@weatherbeeta.com.au> wrote:
>>> A couple of possible things to try; pg_dump to a text file and try
>> cat'ting that to the tape drive, or pipe it through tar and then to the
>> tape.
>
>> What would the correct syntax be for that - I can't figure out how to make
>> tar accept stdin:
>
> I don't think it can.

Coming in the middle of this thread, so slap me if I'm off base here.
tar will accept standard in as:

tar -cf -

the '-f -' says take input.

--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin

pgsql-admin by date:

Previous
From: Ivo Rossacher
Date:
Subject: Re: encoding???
Next
From: "Phillip Smith"
Date:
Subject: Re: Backup to Tape Incomplete