Current situation:
- PostgreSQL, streaming replication
- Master failed, I created the trigger file. Slave is promoted to new master
- After the old master restarted successfully, I have to create base backup and change config to change old master to new slave. (https://wiki.postgresql.org/wiki/Streaming_Replication: How to use/13).
My problem: the data amount is very large (sometimes 100GB), therefore the base backup takes a long time. How to turn the old master to a new slave without basebackup? (For example, with administrator command like pg_switch_xlog()
.)