From: Steve Holdoway <steve.holdoway@firetrust.com>
To: pgsql-admin@postgresql.org
Subject: Re: Backup to Tape Incomplete
Date: Wed, 27 Feb 2008 16:27:50 +1300
Message-ID: <20080227162750.5638b0e8.steve.holdoway@firetrust.com> (raw)
In-Reply-To: <01e601c878eb$40e498f0$9b0014ac@wbaus090>
References: <47C4B83E.4060408@serioustechnology.com>
<01e601c878eb$40e498f0$9b0014ac@wbaus090>
On Wed, 27 Feb 2008 13:48:38 +1100
"Phillip Smith" <phillip.smith@weatherbeeta.com.au> wrote:
> > 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.
>
> That would be to write to stdout :) I can't figure out how to accept from
> stdin :(
>
> -f is where the send the output, either a file, a device (such as tape) or
> stdout (aka '-')
Not quite. tar cf - will pipe to stdout, but tar xf - will pipe from stdin.
For the OP's problem, I'd try piping through dd as a file buffer, and run sync on completion. Is there a /dev/rst0, like on some of the old unixes ( doesn't look like it after checking my CentOS 4 server)? The difference was that rst0 was unbuffered, and st0 was buffered. Either way, the sync may help.
Worth a try (:
Steve.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: steve.holdoway@firetrust.com
Subject: Re: Backup to Tape Incomplete
In-Reply-To: <20080227162750.5638b0e8.steve.holdoway@firetrust.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox