pg_getwal - retrieve a WAL file from a pg_receivewal archive
pg_getwal /path/to/wal/%f %p
pg_getwal retrieves and decompresses files from a WAL archive maintained by pg_receivewal and pg_backupcluster. It is put into PostgreSQL's restore_command by pg_restorecluster.
pg_restorecluster (1), pg_backupcluster (1).
Christoph Berg <myon@debian.org>