Why not use cascading replication for this? That's precisely what I'm doing.
My question is: what about the WAL files? Do I need to rsync them from A to B too, or can/should I just clean out B's WAL directory, or something else?restart Postgres on Arsync A --> Bstop Postgres on AWe need a "last chance" offsite backup of our backup server. Since the backup server isn't accessed by customers, we have the luxury of being able to shut it off briefly once per day. Call server "A" the backup, server "B" is offsite backup-of-backup: The procedure I'd like to implement is:
server B is always "cold" (Postgres not running)while A is running, rsync A --> B
Thanks,
Craig