Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdPdT-0007eo-TI for pgsql-admin@arkaria.postgresql.org; Mon, 04 Nov 2013 19:16:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VdPdT-0001qy-Bd for pgsql-admin@arkaria.postgresql.org; Mon, 04 Nov 2013 19:16:27 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdPdR-0001nc-Fp for pgsql-admin@postgresql.org; Mon, 04 Nov 2013 19:16:25 +0000 Received: from mail.pasteleros.org.ar ([200.49.144.54]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdPdM-0000z0-IZ for pgsql-admin@postgresql.org; Mon, 04 Nov 2013 19:16:23 +0000 Received: from mail.pasteleros.org.ar (unknown [127.0.0.1]) by mail.pasteleros.org.ar (Postfix) with ESMTP id D9D3A22A6D for ; Mon, 4 Nov 2013 16:15:48 -0300 (ART) X-Virus-Scanned: amavisd-new at pasteleros.org.ar Received: from mail.pasteleros.org.ar ([127.0.0.1]) by mail.pasteleros.org.ar (mail.pasteleros.org.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nd1g2UeVs42V for ; Mon, 4 Nov 2013 16:15:43 -0300 (ART) Received: from [192.169.100.54] (unknown [192.169.100.54]) by mail.pasteleros.org.ar (Postfix) with ESMTP id EE23522A56 for ; Mon, 4 Nov 2013 16:15:43 -0300 (ART) Message-ID: <5277F277.3090705@pasteleros.org.ar> Date: Mon, 04 Nov 2013 16:16:07 -0300 From: Alejandro Brust Reply-To: alejandrob@pasteleros.org.ar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130503 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: testing database consistency References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: 0.8 (/) 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 Hi, U could try to perform many task over the running copy like pg_dump + pg_restore + vacuumdb + reindexdb.... ,etc If all of them went ok U could make several select of yours best known tables and compare them with the original one. see U El 24/10/2013 04:18, Raphael Bauduin escribió: > Hi, > > I have a postgresql running in a virtual machine (linux, kvm). > I wanted to test that the backup, which takes a copy of the disk > image, is valid and usable. > > I have taken a copy of the disk image and run it fine on another computer. > However, just starting the server succesfully does not mean there is > no corrupted data in the database. This is why I'm looking to a way to > validate that all the data stored in the postgresql is ok, ie > consistent and usable. Does anyone have advices on how to best check > the validity of the whole database? > > Thanks in advance! > > Raphaël -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin