From: Stephen Frost <sfrost@snowman.net>
To: Phil Endecott <spam_from_pgsql_lists@chezphil.org>
Cc: David Steele <david@pgmasters.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: During promotion, new master tries to archive same segment twice
Date: Thu, 16 Aug 2018 08:08:54 -0400
Message-ID: <20180816120854.GL3326@tamriel.snowman.net> (raw)
In-Reply-To: <1534408657322@dmwebmail.dmwebmail.chezphil.org>
References: <11b405a6-2176-9510-bf5b-ea9c0e860635@pgmasters.net>
<1534408657322@dmwebmail.dmwebmail.chezphil.org>
Greetings,
* Phil Endecott (spam_from_pgsql_lists@chezphil.org) wrote:
> David Steele wrote:
> >pgBackRest has done this for years and it saves a *lot* of headaches.
>
> The system to which I am sending the WAL files is a rsync.net
> account. I use it because of its reliability, but methods for
> transferring files are limited largely to things like scp and
> rsync.
You might consider using a well-tested PG backup tool locally and then
simply rsync that backup over to rsync.net. Certainly with pgbackrest,
we intend and expect people to use more routine "just copy all the
files" backup methods for backing up the repository.
Basically, you could pgbackrest to /some/local/path and then rsync from
there over to rsync.net.
Having an rsync or scp 'storage' option (similar to the s3 one) for
pgbackrest might be interesting.. We discussed having the ability to
start a backup from the PG server at one point but in that discussion
we were thinking pgbackrest would also be installed on the backup
server. This would be different from that in that the remote side would
only need to support rsync or scp. You'd have to accept that if the
the backup server dies then you lose data though, since I don't believe
there's a way to ask for an fsync() through rsync or scp, which makes it
a much less compelling feature, unless rsync.net guarantees writes
somehow..?
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sfrost@snowman.net, spam_from_pgsql_lists@chezphil.org, david@pgmasters.net
Subject: Re: During promotion, new master tries to archive same segment twice
In-Reply-To: <20180816120854.GL3326@tamriel.snowman.net>
References: <11b405a6-2176-9510-bf5b-ea9c0e860635@pgmasters.net> <1534408657322@dmwebmail.dmwebmail.chezphil.org> <20180816120854.GL3326@tamriel.snowman.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox