added --showids flag to restore command