Skip site navigation (1) Skip section navigation (2)

Re: Backup to Tape Incomplete

From: Geoffrey <lists(at)serioustechnology(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Phillip Smith <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Backup to Tape Incomplete
Date: 2008-02-27 01:09:18
Message-ID: 47C4B83E.4060408@serioustechnology.com (view raw or flat)
Thread:
Lists: pgsql-admin
Tom Lane wrote:
> "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> writes:
>> On Sun, Feb 24, 2008 at 9:20 PM, Phillip Smith
>> <phillip(dot)smith(at)weatherbeeta(dot)com(dot)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

In response to

Responses

pgsql-admin by date

Next:From: Phillip SmithDate: 2008-02-27 02:48:38
Subject: Re: Backup to Tape Incomplete
Previous:From: Ivo RossacherDate: 2008-02-26 23:53:24
Subject: Re: encoding???

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group