From: Eduardo J. Ortega <ejortegau@cable.net.co>
To: pgsql-admin@postgresql.org
Subject: Re: Best compressed archive_command on Linux?
Date: Wed, 11 Apr 2007 11:49:49 -0500
Message-ID: <200704111149.52643.ejortegau@cable.net.co> (raw)
In-Reply-To: <461D0C11.4030400@equipoint.com>
References: <461D0C11.4030400@equipoint.com>
sometimes tar (gnu tar) exited with nonzero status for no reason on my
system... no error msg or anything. I recommend something called star.
On Wednesday 11 April 2007, Sean Murphy wrote:
> I'm in the process of moving an 8.2 server from Win32 to Ubuntu Linux.
> On Win32, I implemented WAL archiving with the archive_command
> "rar a -ep -m5 -s -t -dh w:/%f.rar %p"
>
> Anyway, I'm going to use WAL archiving on the new server, and need the
> files to be compressed. My first inclination is to use
> "tar -czf /walarchive/%f.tar.gz %p > /dev/null"
>
> Before I go with that, though, I was wondering if anybody had any
> specific experience / advice with a better command, reasons why this
> command might fail zero or succeed nonzero, or additional/different
> options for tar that would yield better results.
>
> Thanks,
> Sean
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
--
Eduardo J. Ortega - Linux user #222873
"No fake - I'm a big fan of konqueror, and I use it for everything." -- Linus
Torvalds
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: ejortegau@cable.net.co
Subject: Re: Best compressed archive_command on Linux?
In-Reply-To: <200704111149.52643.ejortegau@cable.net.co>
* 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