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 1f7gsB-0006iR-Av for pgsql-general@arkaria.postgresql.org; Sun, 15 Apr 2018 12:35:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f7gsA-0005DN-04 for pgsql-general@arkaria.postgresql.org; Sun, 15 Apr 2018 12:35:10 +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 1f7gs9-0005D9-Nm for pgsql-general@lists.postgresql.org; Sun, 15 Apr 2018 12:35:09 +0000 Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f7gs1-0006Ki-AI for pgsql-general@lists.postgresql.org; Sun, 15 Apr 2018 12:35:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1523795698; bh=Q28/b68SRF1jTwLY+Woab5iJUNY1+Kus6Bp8+w3JZUk=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=Lu8s43yPH+jNMrshOjbZOi3XZru9k3+3SOOGekVpm0zyTwGfX+CrZnrDZsqJP0IXTO+N3+m2ZUcfNuqkc6XLe/6pd1cUud8jucs8oV4GFAylK8WGwCiRM6gDvxDNnUFy/idwL4mnPLZR5x1szdYLst7TlQwhGoNPDd3HGTu7DK28B1pWe7uHS+QYhYs5xtkj5GEdWS5gqv3LVhqaKjMET6JaS9RlG+KhqEOckMmQJSnsrN9FS4BGluW0F7zYqm63lcZyMaK519j2m/DzUtV4Rs0Lzi12CqKxisGFh7O25ZYpW4Rln6zFeZeawaA0lZds1A9E40E4gEkVkEpnsN1SPQ== X-YMail-OSG: sjumv.MVM1l3NBuwPlUt3L9lfi.KVxe3juLr.Np0mJC.fot26TrUI2LA1MEFww9 e2Cu3rtD.fooWgH7YXKJceNOVFi3lOqL6oH.MAQtuANYzmhtuwHIo2Ds.S8ZYRHSz_4P66vZHj8U CT1Bogr3dgvhROabOvJhV3_Izme.O2QbU3PB8UuuI9E1GS.IjZmIjhBAjA_VHchKLULMihvyC.d. 3t5fWwRwLJ1Ho5C_q.GULxbEmcuV4kOwHnBdPP95JMTJvP9qa3qhCIyFFoEOKtps79J5X8UBvmD6 QtP4dGPE7yAZgL7d0Xp.PMLtAJA0C_uQZ.1_pLqI.4iyTrD_doyq7nugkRxgllEQ9_9201lNS9Ic hGphtpCnuW.A_XaV5zdPcfvuNU993ZxvJQPfrnl834jeIJXmP_Me1_vmSBaOHXJbSnsGej2nFOAH 28znFItxxFba43Jh2Re.S2Ov47WBw1TMVLdbvmi_IdzzbqhhhmZPC55Rw5EOAoIZiVsnwNyQdZpt pTQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sun, 15 Apr 2018 12:34:58 +0000 Date: Sun, 15 Apr 2018 12:34:57 +0000 (UTC) From: A A To: "pgsql-general@lists.postgresql.org" , Ricardo Martin Gomez Message-ID: <335748960.475988.1523795697063@mail.yahoo.com> In-Reply-To: References: <22260152.420560.1523780705996.ref@mail.yahoo.com> <22260152.420560.1523780705996@mail.yahoo.com> Subject: Re: Can a broken Postgresql data directory be reconstructed without losing data? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_475987_2056898500.1523795697060" X-Mailer: WebService/1.1.11782 YMailNorrin Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Content-Length: 6069 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_475987_2056898500.1523795697060 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Well this doesn't address the question at all. On Sunday, April 15, 2018, 1:44:00 PM GMT+2, Ricardo Martin Gomez wrote: =20 =20 You must to restore a database from a backup. Regards. Obtener Outlook para Android From: A A Sent: Sunday, April 15, 2018 5:25:05 AM To: pgsql-general@lists.postgresql.org Subject: Can a broken Postgresql data directory be reconstructed without lo= sing data?=C2=A0 I'm trying to restore a database from a broken data directory that have los= t many of its files accidentally. I have tried unsuccessfully to install new instance of the same Postgresql = version and then copy (with overwrite) the broken datadir to the new one. h= ere the remaining datadir that I'm working on : |-base |---1 |---16384 |---17950 |---19621 |---pgsql_tmp |-global |-pg_multixact |---members |---offsets |-pg_notify |-pg_stat_tmp |-pg_tblspc |-pg_xlog |---archive_status =20 ------=_Part_475987_2056898500.1523795697060 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Well this doesn't address the question at all.

On Sunday, April 15, 2018, 1:44:00 PM GMT+2, Ricardo Martin Gomez <rimartingomez@hotmail.com> wrote:


You must to restore a database from a backup.

Regards.


From: A A <fellah.tech@yahoo.com>
Sent: Sunday, April 15, 2018 5:25:05 AM
To: pgsql-general@lists.postgresql.org
Subject: Can a broken Postgresql data directory be reconstructed without losing data?
 

I'm trying to restore a database from a broken data directory that have lost many of its files accidentally.

I have tried unsuccessfully to install new instance of the same Postgresql version and then copy (with overwrite) the broken datadir to the new one. here the remaining datadir that I'm working on :

   |-base
   |---1
   |---16384
   |---17950
   |---19621
   |---pgsql_tmp
   |-global
   |-pg_multixact
   |---members
   |---offsets
   |-pg_notify
   |-pg_stat_tmp
   |-pg_tblspc
   |-pg_xlog
   |---archive_status

------=_Part_475987_2056898500.1523795697060--