Sync process is:
- make a base backup
- catch up with changes that happened during the base backup using master's WAL files
Make sure master's
wal_keep_segments is set to a high enough value to allow tracking all changes happening during the base backup. Restart needed when changing this.