Managing snapshots on recovered virtual machines