Convert backend from acid-state to postgres.