Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZwlG-0001Xy-Qh for pgsql-admin@arkaria.postgresql.org; Fri, 12 Jan 2018 10:40:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZwlF-0001Ql-Sf for pgsql-admin@arkaria.postgresql.org; Fri, 12 Jan 2018 10:40:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eZwlF-0001P2-EE for pgsql-admin@lists.postgresql.org; Fri, 12 Jan 2018 10:40:33 +0000 Received: from smtp-34-i5.italiaonline.it ([213.209.9.34] helo=libero.it) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZwlB-0008UV-Hh for pgsql-admin@lists.postgresql.org; Fri, 12 Jan 2018 10:40:31 +0000 Received: from oxapps-08-048.iol.local ([10.101.8.58]) by smtp-34.iol.local with SMTP id Zwl7eX4JPVTwpZwl7eIHks; Fri, 12 Jan 2018 11:40:25 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virgilio.it; s=s2017; t=1515753625; bh=9vS1nO5B4YrmtFCkVJVRSzLy6LyYtOQ6PxiktlrcAuU=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=T3wWnzw7P2fcNPBDgI99e2YaQbjScTfkDJs0gWnqMXyXR70UQa2goUPflo0X08WMB RhP8pUoJ6SbTLCeXEBtZiWPbH9tQp/VVZhSWqI9Hdfq7oTOkPmZFoRvKHdzUnAsnXV Ug2l9yBivNLoG7q+GmW6gZLgObH0UmEH8DrMytIFRxakOZU8uKm1FCzr0LUwyd0mLm wwqFw1c48EtgKN9QGYxT92RGNt8vxlZk48Yn1HA5ZseoMgfxV20GEChzmG/SsspKWC OseK0tkXh8N+ZLW+NCHo1aXyoMNkB6SxzkzbrEiq5FWjVlwPuF44CtmAvnAjnHaUs/ hjHFJI4qaDTFA== X-CNFS-Analysis: v=2.2 cv=PYyPvmpd c=1 sm=1 tr=0 a=A6czKm1KN+tF1CdMlhz/3g==:117 a=JFonBcA4ufAA:10 a=v3ZZPjhaAAAA:8 a=4FljVp9zZcWkiqnawZ8A:9 a=QEXdDO2ut3YA:10 a=FGuINhSliJ2_BM84Nm8A:9 a=l49IrKzJYmdf7EkD:21 a=_W_S_7VecoQA:10 Date: Fri, 12 Jan 2018 11:40:25 +0100 (CET) From: flumbador@virgilio.it To: Rui DeSousa Cc: pgsql-admin@lists.postgresql.org Message-ID: <326066541.973171.1515753625461@mail.virgilio.it> In-Reply-To: References: <524817289.230206.1514560886805@mail.virgilio.it> <20180102153854.nldw2ouxnehtp63k@alvherre.pgsql> <1623608978.635173.1515419600795@mail.virgilio.it> <858243188.823822.1515601712820@mail.virgilio.it> Subject: Re: Issue on restore / recover MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_973170_1298606545.1515753625457" X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.3-Rev40 X-Originating-IP: 46.235.159.120 X-Originating-Client: open-xchange-appsuite x-libjamsun: 2ohtzcnAEvt0tPgzW2QV9BPf8l1yGGTz x-libjamv: TWAPrMuzKks= X-CMAE-Envelope: MS4wfKi07UZUzC9RT0L67aje5faMDjQEuAi6azzAyKb2GQUnB/Xg+PpGJ9L7PF0lJ3TDdoftHkYQH1k5QSpLRWIW9LPhmSxgF1DfB8XRyMMnXkmcEGkw3gS/ gKpyD1C6RRhANtanONjQCPW6OnY+I1+VIU0V0pNQuMs9jVcayLeYQzzVb0LZN4HlKA5pNZA1bL3evupPCirESK2MbpPuB9P3LrJ6ZLFaMK00U2550oGMVzFT List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_973170_1298606545.1515753625457 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I want to show that postgresql, while is recovering the database applying t= he WAL file, don't raise any error if it can't find a missing file. It con= tinue the recovery that end successfully. I know that the source of the pro= blem is that I have to guarantee that the backup is complete and consistent= but it sound me strange that postgresql don't signal any errors when it ca= n't find a file .... I hope that is clear the scope of the testcase. Thanks & Regards Gabriele =20 > Il 10 gennaio 2018 alle 18.04 Rui DeSousa ha= scritto: >=20 > You=E2=80=99ve just corrupted your system=E2=80=A6 not sure what you= actually trying to reproduced. >=20 >=20 > 10) Delete of the file containg the table "test_corrupt" to simulate = the file missing in the backup: >=20 >=20 > What is being used to backup the files? What are your file system mou= nt options? Sound=E2=80=99s like your backup is not backing up all the file= s. >=20 >=20 >=20 > > > On Jan 10, 2018, at 11:28 AM, flumbador@virgilio.it m= ailto:flumbador@virgilio.it wrote: > >=20 > >=20 > > 10) Delete of the file containg the table "test_corrupt" to sim= ulate the file missing in the backup: > >=20 > >=20 > > >=20 >=20 ------=_Part_973170_1298606545.1515753625457 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi,

I want to show that postgresql, while = is recovering the database applying the WAL file, don't raise any error=  if it can't find a missing file.  It continue the recov= ery that end successfully. I know that the source of the problem is that I = have to guarantee that the backup is complete and consistent but it sound m= e strange that postgresql don't signal any errors when it can't fin= d a file .... I hope that is clear the scope of the testcase.

Thanks = & Regards

Gabriele

 

Il 10 gen= naio 2018 alle 18.04 Rui DeSousa <rui.desousa@icloud.com> ha scritt= o:

You’ve just corrupted your system…  not sure wha= t you actually trying to reproduced.

10) Delete of the file containg= the table "test_corrupt" to simulate the file missing in the backu= p:


What is being us= ed to backup the files? What are your file system mount options? Sound̵= 7;s like your backup is not backing up all the files.
=

On Jan 10, 2018, at 11:28 AM, flumbador@virgilio.it wrote:

10) Delete of the file containg the table "test_corrupt" t= o simulate the file missing in the backup:



=20 ------=_Part_973170_1298606545.1515753625457--