Wip 5857 8

Separates out object recovery into a PGBackend interface.