Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flIM5-0002Yc-UI for pgsql-admin@arkaria.postgresql.org; Thu, 02 Aug 2018 18:29:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flIM3-0007la-VD for pgsql-admin@arkaria.postgresql.org; Thu, 02 Aug 2018 18:29:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flIM3-0007lT-Nn for pgsql-admin@lists.postgresql.org; Thu, 02 Aug 2018 18:29:43 +0000 Received: from mtaout005-public.msg.strl.va.charter.net ([68.114.190.30]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flIM0-0004W3-N9 for pgsql-admin@lists.postgresql.org; Thu, 02 Aug 2018 18:29:43 +0000 Received: from impout001 ([68.114.189.16]) by mtaout005.msg.strl.va.charter.net (InterMail vM.9.00.023.01 201-2473-194) with ESMTP id <20180802182937.UNMT7356.mtaout005.msg.strl.va.charter.net@impout001>; Thu, 2 Aug 2018 13:29:37 -0500 Received: from cerberus.crazybean.net ([24.151.10.150]) by impout001 with charter.net id JJVd1y00M3EE3TL01JVdCL; Thu, 02 Aug 2018 13:29:37 -0500 X-Authority-Analysis: v=2.2 cv=ffHd8wYF c=1 sm=1 tr=0 a=D2HTw/M6/8MmcHighGO7rg==:117 a=D2HTw/M6/8MmcHighGO7rg==:17 a=dapMudl6Dx4A:10 a=pGLkceISAAAA:8 a=OfzmvY6mzvMw2hkE9KEA:9 a=QEXdDO2ut3YA:10 a=kocWfm1jGzNUbqY28SYA:9 a=wjtv859AKoz1dChX:21 a=_W_S_7VecoQA:10 Received: from [10.25.227.111] (144.121.139.193.lightower.net [144.121.139.193]) by cerberus.crazybean.net (OpenSMTPD) with ESMTPSA id b0f6c1ad (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 2 Aug 2018 14:29:36 -0400 (EDT) From: Rui DeSousa Message-Id: <95C53BC8-E715-4031-8710-8084544369D6@crazybean.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_C412FD8E-C8C8-4BB9-9313-B22564CAD6D6" Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.22.3\)) Subject: Re: Errors from archive restore from S3 and wrong size archive file Date: Thu, 2 Aug 2018 14:29:34 -0400 In-Reply-To: Cc: pgsql-admin@lists.postgresql.org To: Jorge Torralba References: X-Mailer: Apple Mail (2.3445.100.22.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_C412FD8E-C8C8-4BB9-9313-B22564CAD6D6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 2, 2018, at 1:33 PM, Jorge Torralba = wrote: >=20 >=20 > ~/datas3/pg_xlog/RECOVERYXLOG $ ls -l > total 16384 > -rw------- 1 postgres postgres 16777216 Aug 2 16:03 = 000000010000000000000002 >=20 >=20 I don=E2=80=99t think RECOVERYXLOG should be a directory; that should be = the WAL file being restored. Postgres is trying to restore the = directory instead of the file thus the error. =20= --Apple-Mail=_C412FD8E-C8C8-4BB9-9313-B22564CAD6D6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Aug 2, 2018, at 1:33 PM, Jorge Torralba <jorge.torralba@gmail.com> wrote:


~/datas3/pg_xlog/RECOVERYXLOG $ ls = -l
total = 16384
-rw-------    1 postgres = postgres  16777216 Aug  2 16:03 = 000000010000000000000002



I don=E2=80=99t think RECOVERYXLOG should be a directory; that should = be the WAL file being restored.  Postgres is trying to restore the = directory instead of the file thus the error. =   
= --Apple-Mail=_C412FD8E-C8C8-4BB9-9313-B22564CAD6D6--