Re: WAL shipping to two machines (PITR)

From: Tomas Simonaitis <tomas(dot)simonaitis(at)gmail(dot)com>
To: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: WAL shipping to two machines (PITR)
Date: 2009-11-08 08:55:26
Message-ID: 200911081055.26489.tomas.simonaitis@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We are using two slaves this way:

- Active server moves WAL files to local directory,
doesn't care about slaves
(basically archive_command = 'mv %p /some/arch_dir/%f')
- Slaves pull WAL files via rsync
- Slaves also do full syncs every several hours (pg_start_backup / rsync /
pg_stop_backup)
- Active server also has "cleanup daemon": removes redundant archived WALs
based on last full backup time

The slaves are not warm,
however they periodically create LVM snapshots and pg_dump databases.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jukka Inkeri 2009-11-08 11:35:21 Problem to use remote cygwin server using ssh and native psql 8.3.5
Previous Message Uwe Schroeder 2009-11-08 08:39:23 Re: Backups