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 1iAeoC-00056B-52 for pgsql-general@arkaria.postgresql.org; Wed, 18 Sep 2019 18:36:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iAeoB-0002MH-1L for pgsql-general@arkaria.postgresql.org; Wed, 18 Sep 2019 18:36:07 +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 1iAeoA-0002M3-Kc for pgsql-general@lists.postgresql.org; Wed, 18 Sep 2019 18:36:06 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iAeo4-0004kP-Ez for pgsql-general@postgresql.org; Wed, 18 Sep 2019 18:36:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B25235E5; Wed, 18 Sep 2019 14:35:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 18 Sep 2019 14:35:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=U fL6e4NCCS5nuWqwglRmH/E7wPwX5QDciemmdYCi4DQ=; b=pyI37CW7o3cyI3P2o 82npB9RFYI4QDJ2kSUfAn5DeBJGQm/QB5/gvIdpHw4IKiImfvw5cMD3Lc74AkMNf zLZd+ANbjkLX0nMkip4aDK7Wo8/jiQCFjAk00jzUG6O3FL5VYbmPYd3f6gdnzj2d g+kQGrXfyXABPjtX9vajiUOX25dPCLlc5tI46GAoN4ECouBViulaQJhDVyyVkGyA DWQ9Y52QoZnux9tO+7xOL1gz3QD9TJCULOusOLD/8kk1ZlzOJQ3MA0nz5uoTczh8 FlKug3It09agoHNIQRx4Lv44oKijgMPRfYKO4HxT1L6wWn2i+26rhqOpVN4iaDz/ zarOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=UfL6e4NCCS5nuWqwglRmH/E7wPwX5QDciemmdYCi4 DQ=; b=XIQLf0TxLlA9W/BBg/kP5a/apflc3TBEoZxrrBw4GFYxPXX3LOPo/u1Ks V0kDG0I5tDjmKQkyKUH9khLlaf1GDHzCaCkz5JikoCbvIWDHcNWuAwBd0ZNNjtM5 TpVw2SSwHrDY0TFy0W1lGUiT0ofGtnqs5lrDVMt0bqiWu58HeY3KPpCy3a2EoAsD CAGO6jO8Qn5m+tnaM8C09tEuaLPMBnsLcP3eTSlejmbvJE4XEWDdcOn6oxvzTU8m hwa2XYNmIAfjNrOcTvntGeD6OBSYVClkOnjLkIS1oUbG28O22hlTXrQ9fhd3yshq AopDnidQ90Ft6LLqJ4LQ/EEy68KTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudekgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepshhtrggtkhgvgigthhgrnhhgvgdrtghomhenucfkphephedt rdduleejrdektddrvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id ADC8BD6005B; Wed, 18 Sep 2019 14:35:57 -0400 (EDT) Subject: Re: Backup PostgreSQL from RDS straight to S3 To: Anthony DeBarros , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <66ea419a-2584-f3b7-d306-9df40beb267d@aklaver.com> Date: Wed, 18 Sep 2019 11:35:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/18/19 11:32 AM, Anthony DeBarros wrote: > Hi, folks -- I'm a longtime PostgreSQL user but a bit of a noob when it > comes to maintenance. Question: > > I'm running PostgreSQL 11 on Amazon RDS. Also have an EC2 box running > Ubuntu that runs some Python scripts that collect data into PostgreSQL. > > We're doing the standard RDS backups. However, I'd also like to do a > nightly pg_dump and store that file on S3. Is there a way to go straight > from RDS to S3 without having to download the dump file onto the EC2 box > at any point? I want to avoid a scenario where the DB file fills the EC2 > box's disk. ?: https://dba.stackexchange.com/questions/221454/best-way-to-pg-dump-postgresql-on-rds-to-s3 > > Thanks for any and all advice! > > Anthony > > -- Adrian Klaver adrian.klaver@aklaver.com