We use wal-g to sync WAL to object storage. I tried to test recovery to point-in-time using command
stolonctl init --cluster-name=cluster --store-backend=consul --store-endpoints=consul-server.consul:8500 --store-prefix=cluster '{ "initMode": "pitr", "pitrConfig": { "recoveryTargetSettings": {"recoveryTargetTime": "2021-05-12 10:23:30"}, "dataRestoreCommand": "wal-g backup-fetch %d LATEST", "archiveRecoverySettings": { "restoreCommand": "wal-g wal-fetch \"%f\" \"%p\"" }}}'
I checked WAL files exists. recovery.conf looks fine
restore_command = ‘wal-g wal-fetch “%f” “%p”’
recovery_target_time = ‘2021-05-12 10:23:30’
recovery_target_action = ‘promote’
I added column and added some records inside table, but I see content of full backup instead without column and data.