Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D0AA99FCB68 for ; Thu, 12 Apr 2007 01:41:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 92664-02 for ; Thu, 12 Apr 2007 01:41:06 -0300 (ADT) X-Greylist: delayed 01:00:03.215487 by SQLgrey-1.7.4 Received: from ironport4.cable.net.co (ironport4.cable.net.co [200.118.0.15]) by postgresql.org (Postfix) with ESMTP id 860FB9FCC65 for ; Thu, 12 Apr 2007 01:21:13 -0300 (ADT) Received: from epicac.cable.net.co ([200.118.2.50]) by ironport4.cable.net.co with ESMTP; 11 Apr 2007 11:47:34 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlwPANKuHEbIdgIyh2dsb2JhbACDQoxBAgEIDio X-IronPort-AV: i="4.14,395,1170633600"; d="scan'208"; a="53802672:sNHT23606723" Received: from dynamic-ip-cr20011869155.cable.net.co ([200.118.69.155]) by epicac.cable.net.co (Sun Java System Messaging Server 6.2-7.06 (built Oct 6 2006)) with ESMTPA id <0JGB00DX1MLBJB60@epicac.cable.net.co> for pgsql-admin@postgresql.org; Wed, 11 Apr 2007 11:41:35 +0500 (GMT) Date: Wed, 11 Apr 2007 11:49:49 -0500 From: "Eduardo J. Ortega" Subject: Re: Best compressed archive_command on Linux? In-reply-to: <461D0C11.4030400@equipoint.com> To: pgsql-admin@postgresql.org Message-id: <200704111149.52643.ejortegau@cable.net.co> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <461D0C11.4030400@equipoint.com> User-Agent: KMail/1.9.6 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.825 tagged_above=0 required=5 tests=AWL=-0.901, BAYES_40=-0.185, DATE_IN_FUTURE_03_06=1.961, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, INVALID_TZ_GMT=1.042 X-Spam-Level: *** X-Archive-Number: 200704/115 X-Sequence-Number: 25179 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