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 1lN08W-00042Y-HQ for pgsql-general@arkaria.postgresql.org; Thu, 18 Mar 2021 21:24:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lN08V-0002gb-F3 for pgsql-general@arkaria.postgresql.org; Thu, 18 Mar 2021 21:24:55 +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 1lN08V-0002gU-7S for pgsql-general@lists.postgresql.org; Thu, 18 Mar 2021 21:24:55 +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 1lN08O-0004qa-PH for pgsql-general@postgresql.org; Thu, 18 Mar 2021 21:24:54 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lN08N-0003UC-Ek; Thu, 18 Mar 2021 17:24:47 -0400 Date: Thu, 18 Mar 2021 17:24:47 -0400 From: Bruce Momjian To: =?utf-8?B?YXNsxLE=?= cokay Cc: pgsql-general@postgresql.org Subject: Re: WAL-G shipping to the cloud Message-ID: <20210318212447.GA3566@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Mar 18, 2021 at 05:18:30PM -0400, aslı cokay wrote: > Hi all, > > I'd like to get postgres log files to the cloud but i want this process going > live i want to automate test process and after that i want it go live.  > > What i have in my mind is setting archive_mode is on and archiving_command with > a script. After that i want to execute pgbench to get more WAL files and > trigger with pg_switch_wal() to change WAL files. > > Is there any idea do you have about it or is there anyone shipped their log to > the cloud to give me an idea?  Well, there is Wal-E and Wal-G, which archive to the cloud. pg_backreset also supports cloud WAL storage. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.