Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNgPh-000497-0i for pgsql-general@arkaria.postgresql.org; Thu, 24 Oct 2019 16:56:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNgPf-0006RR-Lt for pgsql-general@arkaria.postgresql.org; Thu, 24 Oct 2019 16:56:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNgPf-0006RJ-9Q for pgsql-general@lists.postgresql.org; Thu, 24 Oct 2019 16:56:39 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iNgPc-0001DI-Rq for pgsql-general@lists.postgresql.org; Thu, 24 Oct 2019 16:56:37 +0000 Received: by mail-ed1-x544.google.com with SMTP id r4so19198001edy.4 for ; Thu, 24 Oct 2019 09:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OFICGJtvBsRG6tMJ2vI4TSMHr2K7DskOj6e24szsl1U=; b=GyC0T6RTPqK7CQNJ4d4Lct+OptQqFurGIeV6hQIA69i4B3GDYHjFXuiUwaXJUif7gW jw9ibVgmNaniA6i81dR6MRw+muYchcCyI7hSYGDMPkaK85DCqHU0wI4S3aTKDRBgpZdO MI4xqtjfRcs2Et7wg9Xieg4CSjL2edj277M5XfmI4+L117tAmWs6buDxlwXsynCcGjqe 5h21SktzYoWQ7CL/+A2p1vbQWyc9hNCVuAkYx+wGrL3xlsWGqACIqFuy9CpTXl+eycDy NXrIcwdXm/Z6f+43lC5XH1kFwbPaUxGqkIhKFHv7zGs/1DRNQsCUH2nvUOVn1AjjFJ7S IJag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OFICGJtvBsRG6tMJ2vI4TSMHr2K7DskOj6e24szsl1U=; b=TkmuwQ0WbKhusgWpl/udmeoSl8asR/RbiyKBTqzwArZxmS/JwJqOaW0lw13Wyv6mGg 8VAx91al+pYLyCSlhdkiojZXlQvNcTVx+87ABljSTGSm+LzjeMt5t+P1vMSqCtD4pgWr v0c//qLIZ0IGMr1zw4S6L/V+B3n8naTmGjT6Mlja1HojpVDvSD1t4ZaIVAzSOkP5NfU3 ZuCjKyFxnfndp1r3ArVUvRDobFFf9d3zbRVAoWFd+lq5IdSjUECogmXwjxvcKGPkqbgl yvneoppadg8ix6AiCZONPQhSjluF2VDUbhEZcfGatVzU9REA2j1q2nTyAZxRF57EGLi8 Jgkg== X-Gm-Message-State: APjAAAXGLlx5E/ajTqe/GuO40No3UgVQ916h1GSD4JNhbjXolAfVHRgx ALE/cA2TIiEuZqz48A+jGUwyEdf/bq/QFpsYj7dXLDzi X-Google-Smtp-Source: APXvYqyaelZMioTLzQTxyPmQREJExCvBe1GK7eN2I9pSGHP7xSPBRR0V0RNMLfUwgmjPqIH9ZwgYfHsmF2RB4/0zzIk= X-Received: by 2002:a50:b634:: with SMTP id b49mr27979125ede.77.1571936195099; Thu, 24 Oct 2019 09:56:35 -0700 (PDT) MIME-Version: 1.0 From: Carlos Martinez Date: Thu, 24 Oct 2019 11:55:59 -0500 Message-ID: Subject: Recover databases from raw files (only exists the base directory) To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000084bffa0595aaeac5" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000084bffa0595aaeac5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi. I have been contacted for this interesting issue: on a standalone postgresql 9.4 server someone deleted all PostgreSQL files and directories except the base directory and its content (/var/lib/pgsql/9.4-base/data/base). So, the question is: there is any chance/procedure to recover the databases= ? As usual, the last backup has "a few" weeks. So, this dump can be used to recover the recent data? Thanks a lot for you help. Carlos Mart=C3=ADnez. --00000000000084bffa0595aaeac5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi.

I have =C2=A0been contacted for this inter= esting issue: on a standalone =C2=A0postgresql 9.4 server someone deleted a= ll PostgreSQL files and directories=C2=A0 except the base directory and its= content (/var/lib/pgsql/9.4-base/data/base).

So, the question is: t= here is any chance/procedure to recover the databases?

As usual, the= last backup has "a few" weeks. So, this dump can be used to reco= ver the recent data?

Thanks a lot for you help.

= Carlos Mart=C3=ADnez.
--00000000000084bffa0595aaeac5--