Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 7FF96638BE8 for ; Fri, 27 Mar 2009 08:12:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 31848-08 for ; Fri, 27 Mar 2009 08:12:22 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by mail.postgresql.org (Postfix) with ESMTP id 14D286356FF for ; Fri, 27 Mar 2009 08:12:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailsrv1.zmi.at (mailsrv1.zmi.at [212.69.162.198]) by mx1.hub.org (Postfix) with ESMTP id 72170125A726 for ; Fri, 27 Mar 2009 08:12:27 -0300 (ADT) Received: from mailsrv2.i.zmi.at (unknown [81.217.54.243]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailsrv2.i.zmi.at", Issuer "power4u.zmi.at" (not verified)) by mailsrv1.zmi.at (Postfix) with ESMTP id 7E3E94BE8 for ; Fri, 27 Mar 2009 08:43:45 +0100 (CET) Received: from saturn.localnet (saturn.i.zmi.at [10.0.0.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mailsrv2.i.zmi.at (Postfix) with ESMTPSA id 7CD0D40DC04 for ; Fri, 27 Mar 2009 08:43:45 +0100 (CET) From: Michael Monnerie Organization: it-management http://it-management.at To: pgsql-admin@postgresql.org Subject: Re: Hard link backup strategy Date: Fri, 27 Mar 2009 08:43:40 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.28.9-ZMI; KDE/4.1.3; x86_64; ; ) References: <49CB9D8302000025000257DF@gwmta.wicourts.gov> <49CBA19F02000025000257EB@gwmta.wicourts.gov> <49CBA19F.EE98.0025.0@wicourts.gov> In-Reply-To: <49CBA19F.EE98.0025.0@wicourts.gov> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1989365.o1McDMI9IP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903270843.45051@zmi.at> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/239 X-Sequence-Number: 31739 --nextPart1989365.o1McDMI9IP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Donnerstag 26 M=E4rz 2009 Kevin Grittner wrote: > (1) =A0Our archive script copies WAL files to a directory on the > database server, using cp to a one directory followed by mv to > another (to prevent partial files from being processed). What "partial files" do you speak about? I'd like to know, as we soon=20 start doing WAL copies. > rsync Incredible. You mean you make the hard link both on client and server,=20 and afterwards transfer with rsync? That only works for postgresql=20 <8.3, right? As I understand, 8.3 will reuse the space from updated=20 tuples and therefore lots of changes in-between will be done.=20 Or do you use "cluster" to sort the data before copying? But then if one=20 older record is deleted, all further data will have to be transfered=20 anyway. I'm just wondering where the savings come from. mfg zmi =2D-=20 // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 --nextPart1989365.o1McDMI9IP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAknMg7EACgkQzhSR9xwSCbSQ1gCfdqlY72kYoZMknDpLCqGxfBE1 pXwAniY4cKQtV4QIzj6uz5ixOJKxsk1F =hxz1 -----END PGP SIGNATURE----- --nextPart1989365.o1McDMI9IP--