Re: Setting up continuous archiving

2018-10-15 Thread David Steele
On 10/15/18 5:09 PM, Benoit Lobréau wrote: By the way, do/can they both use streaming to receive WAL records? Or streaming is only for standby servers. For backups you have only file-based log shipping? barman supports streaming but it's not as magical as one might think. See pgbarm

Re: Setting up continuous archiving

2018-10-15 Thread Benoit Lobréau
By the way, do/can they both use streaming to receive WAL records? Or > streaming is only for standby servers. For backups you have only > file-based log shipping? > barman supports streaming but it's not as magical as one might think. See pgbarman's documentation for how to manager .partial files

Re: Setting up continuous archiving

2018-10-15 Thread Yuri Kanivetsky
> I am not sure what you call discrete / continuous. >> pgBackRest doesn't seem to allow the latter: recovery to any point in >> time, only to some discrete moments. Correct me if I'm wrong. > > > Are you talking about PITR ? Yes. I had the impression, that with pgBackRest you do backups occasion

Re: Setting up continuous archiving

2018-10-15 Thread talk to ben
Hi, I am not sure what you call discrete / continuous. pgbackrest allows backups of different kinds: full, incremental and differential. It keeps the wals necessary to recover since the oldest backup until the current time. The retention is expressed in number of full backups. You can also specif

Re: Setting up continuous archiving

2018-10-15 Thread Yuri Kanivetsky
t onward must provide enough > information to restore database to the latest state. Except for a > window for data loss that is caused by the fact that WAL segment files > aren't transferred momentarily, and more importantly that WAL segment > files are only transferre

Re: Setting up continuous archiving

2018-09-26 Thread Pierre Timmermans
abase to the latest state. Except for a window for data loss that is caused by the fact that WAL segment files aren't transferred momentarily, and more importantly that WAL segment files are only transferred upon being filled. --- Setting up continuous archiving * Set up WAL archiving     * o

Re: Setting up continuous archiving

2018-09-26 Thread Stephen Frost
st another month or so, see: https://www.postgresql.org/support/versioning/ As mentioned, this is an extremely complicated subject and you should really use one of the tools that's been written to do exactly this. Here's a few comments as to why- > Setting up continuous archi

Re: Setting up continuous archiving

2018-09-26 Thread David Steele
On 9/26/18 8:20 AM, Yuri Kanivetsky wrote: I'm trying to compile a basic set of instruction needed to set up continuous archiving and to recover from a backup. I'm running PostgreSQL 9.3 on Debian Stretch system. This is an incredibly complex topic and it is very difficult to implement correc

Setting up continuous archiving

2018-09-26 Thread Yuri Kanivetsky
gment files are only transferred upon being filled. --- Setting up continuous archiving * Set up WAL archiving * on backup server under postgres user * create /var/lib/postgresql/wal_archive dir $ mkdir /var/lib/postgresql/wal_archive * on database server