Ok, thanks. That was actually what I ended up doing, but I get some warnings in the log. For example:
< 2015-12-15 00:00:58.206 CET >< >< >ERROR: failed to re-find parent key in index “myindex_idx" for deletion target page 101400
..
Is that to be expected?
Also, will the server be in a state where I can start replication to a slave? (given a fresh backup from the new timeline)
Regards,
Gustav
If you absolutely must use the pg_basebackup as your source and I'm assuming you have a tarball without any of WAL files, you could expand the tarball into you data directory, and use pg_resetxlog to "fool" the master into starting up. I only say "fool" as it just builds you a blank WAL file which this system can use as its integrity check and properly start.
--
Jay