add backfilling, recovering pg states