Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0E79-0008SD-0T for pgsql-admin@arkaria.postgresql.org; Tue, 29 Jan 2013 16:32:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U0E78-0000TO-HC for pgsql-admin@arkaria.postgresql.org; Tue, 29 Jan 2013 16:32:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0E77-0000TH-RN for pgsql-admin@postgresql.org; Tue, 29 Jan 2013 16:32:49 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0E73-00055w-Pe for pgsql-admin@postgresql.org; Tue, 29 Jan 2013 16:32:48 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 155932839B; Tue, 29 Jan 2013 08:32:42 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 1407A40104; Tue, 29 Jan 2013 08:32:42 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id C0715C1581; Tue, 29 Jan 2013 08:32:41 -0800 (PST) X-Virus-Scanned: amavisd-new at zcs-prod-ext-mta-2.vmware.com Received: from zcs-prod-ext-mta-2.vmware.com ([127.0.0.1]) by localhost (zcs-prod-ext-mta-2.vmware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j3MonDU2S1if; Tue, 29 Jan 2013 08:32:41 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 64D1BC156C; Tue, 29 Jan 2013 08:32:41 -0800 (PST) Received: from [192.168.1.90] (unknown [10.113.62.14]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Tue, 29 Jan 2013 08:32:40 -0800 (PST) Message-ID: <5107F9B6.8060903@vmware.com> Date: Tue, 29 Jan 2013 18:32:54 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: Lonni J Friedman CC: pgsql-admin@postgresql.org Subject: Re: corrupted indexes when using base backups generated from hot standby References: <50F53613.6000702@vmware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.4 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 26.01.2013 01:28, Lonni J Friedman wrote: > On Tue, Jan 15, 2013 at 2:57 AM, Heikki Linnakangas > wrote: >> That process sounds correct. Since you're using pg_basebackup -x option, you >> don't even need to copy the WAL logs, although it shouldn't do any harm >> either . The tar file should contain everything needed to restore the >> backup. >> >> Can you provide more information? The log output would be nice. How large is >> the database? What kind of activity is there in the master while the backup >> is taken? > > Sorry for the delayed reply, I was out of the office. > > The database is about 530GB uncompressed. The master is quite busy > all the time, with inserts, updates& deletes. > > I've attached all the recent errors. I could send you the entire log > if you'd prefer, its about 800KB compressed. Thanks. I'm afraid I didn't get any wiser from the log output. Since this is a test system, could you reduce the test case into something smaller and self-contained? - Heikki -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin