Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKrkj-0003zL-Hh for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jun 2017 19:45:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dKrkj-0007rQ-0u for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jun 2017 19:45:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dKrki-0007rG-DN for pgsql-hackers@postgresql.org; Tue, 13 Jun 2017 19:45:24 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dKrkS-0002dz-Cf for pgsql-hackers@postgresql.org; Tue, 13 Jun 2017 19:45:23 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A1BDA20B68; Tue, 13 Jun 2017 15:45:07 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 13 Jun 2017 15:45:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=B2tyaTtXcbU4qmTdSA6NBVo1JhoRWsb00xdmbjWXw8k=; b=F6MboyO2 IoZBcxivJlH5WssX9sF+7CrvRCwRYU7Vf3J+Zyt/RlBrB2kjDIEtNEwWLyk+GJiH MH4LLpeBBF2Jbfe7xVcKgpZDO5yFrLKKDLDnMIAI3p7X2Y8Ahru4um7Hhe3TBTKG QKlm1jU6JGBFxET8IbZXDKuPGpPDnezHxOW2ORmcTdg9/aih1rOimtXblfif4AZa uBUV1SzcVTa+eczqFJhgahqruxAGwTeF7u78xYJ3lN1PHrMxIpP0T+gi3ZXYEQ87 zLztlFeMgluaXKIgRkg9sGVhxNRIrT2q3gIoilSTxtcdF1zVkdrUoH15LeioLQM0 /Yp4MsTkJK58Pg== X-ME-Sender: X-Sasl-enc: 7d8j9JEDkIo7tqYS5FX7QcClNShu7jU3Wi3b8tsoxK/M 1497383107 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 29668248E7; Tue, 13 Jun 2017 15:45:07 -0400 (EDT) Subject: Re: WIP: Data at rest encryption To: Stephen Frost , Bruce Momjian References: <20170613162301.GF3151@tamriel.snowman.net> <20170613164442.GD13873@momjian.us> <20170613170132.GH3151@tamriel.snowman.net> <20170613171356.GG13873@momjian.us> <20170613172459.GL3151@tamriel.snowman.net> <20170613174329.GK13873@momjian.us> <20170613182339.GP3151@tamriel.snowman.net> <20170613182910.GN13873@momjian.us> <20170613183858.GR3151@tamriel.snowman.net> <20170613185622.GO13873@momjian.us> <20170613192011.GS3151@tamriel.snowman.net> Cc: Ants Aasma , Robert Haas , PostgreSQL-development From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <3550f152-9349-ee2b-edae-a8ec09d8d9fc@2ndquadrant.com> Date: Tue, 13 Jun 2017 15:45:05 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170613192011.GS3151@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 6/13/17 15:20, Stephen Frost wrote: > For example, you could simply do: > > cp -a /path/to/PG /mnt/usb > > and you're done. If you're using filesystem level encryption then you'd > have to re-encrypt the data, using something like: > > tar -cf - /path/to/PG | openssl -key private.key > /mnt/usb/encrypted_cluster.tar > > And then you would need openssl on the other system to decrypt it. Or make the USB file system encrypted as well? If you're in that kind of environment, that would surely be feasible, if not required. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers