Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 8F7739F99B0 for ; Sun, 7 Oct 2007 13:37:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 11887-10 for ; Sun, 7 Oct 2007 13:36:55 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by postgresql.org (Postfix) with ESMTP id 74F0E9F9952 for ; Sun, 7 Oct 2007 13:37:02 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id f5so706872nfh for ; Sun, 07 Oct 2007 09:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=N46Yc0eOaLvSFFyWYQHMsfCuVz5KfmjD3BEYCrxXiBc=; b=sq4aK4FLSHjMTq36/8hRASEA9o5Dsk6n+AVo3RZk8YqN0l/xVnj33m4x+LQugL/96RR2hLY4pco0ngEp3mk3hSlax2kDy4hYAsybSjmaC9PJsFs1Mhfcu+wngVCLlR3VAxVxwutmPG6nBKl50dO1Fy6g5Rqb8R/hIloF5BYt04U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=JLnqiCCkLOyox8hoBRIxdFPd0LVWNQMIPfA2alYHXnEQjcLvH889kooelgq68dCFapWOVYM537NmX1P7PG/I1aMNGNZXWT3OIUnBwyOR+vb9kq06B+fh4iQTjftPIpjxicIPyj7e4bnWKFxSFIBedSpEUOjUNNAXUxFHEQDTOHI= Received: by 10.78.168.1 with SMTP id q1mr4529034hue.1191775020187; Sun, 07 Oct 2007 09:37:00 -0700 (PDT) Received: by 10.78.132.10 with HTTP; Sun, 7 Oct 2007 09:37:00 -0700 (PDT) Message-ID: <300ccfa50710070937t4e0923baqa5dd79724acfce71@mail.gmail.com> Date: Sun, 7 Oct 2007 12:37:00 -0400 From: "Faber Fedor" To: pgsql-admin@postgresql.org Subject: warm/hot backup of Postgresql MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: a347e25944b47a3b X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/49 X-Sequence-Number: 26963 Hi, I've been tasked with the problem of creating hot/warm backup server of a live Postgresql server. The problem is two-fold: 1) it's version 7.4.9 and an upgrade is not feasible at this time and b) there are multiple instances of postgresql running on the box; not multiple databases, multiple *servers*, each listening on a different port (it was a business requirement from what I've been told). I plan on using heartbeat and mon to monitor the primary server for non-availability and fail over. I thought about DRBD, but that would require repartitioning the live server and I want to touch it as little as possible. I've read the docs for WAL and the 8.2 version sounds perfect for what I want but, as I said, an upgrade is out of the question for now. I see that 7.4 has WAL, but I didn't see mention of the warm backups as mentioned in the 8.2 docs. Can 7.4 do the same magic as 8.2 wrt to WAL? Is SLONY/replication my only choice? Remember, I can't/don't want to rebuild the existing servers. TIA! -- Faber