Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyUma-0002DT-2r for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jul 2020 06:32:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyUmY-0002li-D3 for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jul 2020 06:32:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyUmY-0002lb-12 for pgsql-admin@lists.postgresql.org; Thu, 23 Jul 2020 06:32:42 +0000 Received: from mailout2.med.uni-muenchen.de ([138.245.1.13]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyUmU-0000mP-MO for pgsql-admin@postgresql.org; Thu, 23 Jul 2020 06:32:40 +0000 From: "Dischner, Anton" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=med.uni-muenchen.de; s=gw2201801; t=1595485953; bh=BOiRJSTYGwiznevcLVdVyWyGJ3zRYDZUMIgEAOz9T5A=; h=From:To:Subject:Date:References:In-Reply-To:From; b=t6IuyJyJi1zfWrQtF4/8VIaOZhWnlKyNb5FqIV7SdmrgGFJcG6C8lZtLzlhubiBmV EGLqXR7AGipnL8IjZD+6Q0KFQz3H7/DBFO7SyRJVOv2xsS+xvDN++aiMhdo7n2rSgN dpIv4DcvOlHKVxrCKIMmwipvF22GajymFB6w/U6I= To: "'pgsql-admin@postgresql.org'" Subject: AW: Encryption in pg_dump Thread-Topic: Encryption in pg_dump Thread-Index: AQHWXpgMqGDtULE4UE+2wXGClOThCqkQU2oAgAOBQoCAAOJOUA== Date: Thu, 23 Jul 2020 06:32:32 +0000 Message-ID: <0b1ea872935447f08d48b4c22f0802be@MITMB5.helios.med.uni-muenchen.de> References: <2BCA8D4B-E94D-4F2F-99A5-D783912A1CDF@gmail.com> <20200722185541.GE3899@momjian.us> In-Reply-To: <20200722185541.GE3899@momjian.us> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.17.13.17] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, i had to do this on the fly compression 30 years ago in Oracle. You had to use a pipe construct to do this. Oracle was not able to do this as it is concept in Unix/Linux. I am looking for an on the fly compression for a year now for PG=20 I didnt't dig very deep as i spent most of the time with MySQL/MariaDB. So i guess this is really a FAQ. If you have a solution please share, best, Anton -----Urspr=FCngliche Nachricht----- Von: Bruce Momjian =20 Gesendet: Mittwoch, 22. Juli 2020 20:56 An: Paul F=F6rster Cc: vinod kale ; pgsql-admin@postgresql.org Betreff: Re: Encryption in pg_dump On Mon, Jul 20, 2020 at 03:24:16PM +0200, Paul F=F6rster wrote: > Hi Vinod, >=20 > > On 20. Jul, 2020, at 14:40, vinod kale wrote: > >=20 > > Hello Team, > >=20 > > I am using postgresql 10.8 version in our prod environment. We take dum= p backup on daily basis of full database. And this dump backup creates in h= uman readable format.=20 > > My requirement is backup should creates in encrypted format at the time= of pg_dump running.=20 > > Is there any way or any option available in pg_dump that will creates t= he backup in encrypted format or any tool available for same. >=20 > sorry, no way. The only way you have is to pipe the output of pg_dump thr= ough some encryption tool. pg_dump does not offer to create encrypted dumps= directly using some command line option. Does anyone know why we are getting so many requests for encrypting dumps a= ll of a sudden? July 20 CAD7GeHRZ3tu8y9VG_0juVK3RQq6r+t6HciguEz_C8Eh85Hmq3A@mail.gmail.co= m July 10 CALLD-SGTbu0HCW8NGVg+ycC8PKn9opcbN7aw4CvLj3OVC-hw=3DQ@mail.gmail.= com July 8 CAFiui6G0sgLoURsK61vmiPR1Amd7PQt82cvgdmZ7+ukdsbV1QQ@mail.gmail.co= m --=20 Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee