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 1jyMKj-0003mY-7q for pgsql-admin@arkaria.postgresql.org; Wed, 22 Jul 2020 21:31:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyMKi-0001mc-5Y for pgsql-admin@arkaria.postgresql.org; Wed, 22 Jul 2020 21:31:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyMKh-0001mU-U5 for pgsql-admin@lists.postgresql.org; Wed, 22 Jul 2020 21:31:23 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyMKa-0008RO-H1 for pgsql-admin@lists.postgresql.org; Wed, 22 Jul 2020 21:31:23 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jyMKX-0000mF-MF; Wed, 22 Jul 2020 17:31:13 -0400 Date: Wed, 22 Jul 2020 17:31:13 -0400 From: Bruce Momjian To: Ron Cc: pgsql-admin@lists.postgresql.org Subject: Re: Encryption in pg_dump Message-ID: <20200722213113.GA8801@momjian.us> References: <2BCA8D4B-E94D-4F2F-99A5-D783912A1CDF@gmail.com> <20200722185541.GE3899@momjian.us> <11e703a3-e948-0cef-e228-e92e9f701262@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <11e703a3-e948-0cef-e228-e92e9f701262@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Jul 22, 2020 at 03:05:35PM -0500, Ron wrote: > On 7/22/20 1:55 PM, Bruce Momjian wrote: > > On Mon, Jul 20, 2020 at 03:24:16PM +0200, Paul Förster wrote: > > > Hi Vinod, > > > > > > > On 20. Jul, 2020, at 14:40, vinod kale wrote: > > > > > > > > Hello Team, > > > > > > > > I am using postgresql 10.8 version in our prod environment. We take dump backup on daily basis of full database. And this dump backup creates in human readable format. > > > > My requirement is backup should creates in encrypted format at the time of pg_dump running. > > > > Is there any way or any option available in pg_dump that will creates the backup in encrypted format or any tool available for same. > > > sorry, no way. The only way you have is to pipe the output of pg_dump through 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 all of a sudden? > > > > July 20 CAD7GeHRZ3tu8y9VG_0juVK3RQq6r+t6HciguEz_C8Eh85Hmq3A@mail.gmail.com > > July 10 CALLD-SGTbu0HCW8NGVg+ycC8PKn9opcbN7aw4CvLj3OVC-hw=Q@mail.gmail.com > > July 8 CAFiui6G0sgLoURsK61vmiPR1Amd7PQt82cvgdmZ7+ukdsbV1QQ@mail.gmail.com > > Audit season? LOL, maybe. ;-) -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee