This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
snapshot
mdaneri edited this page May 22, 2019
·
1 revision
Manage Snapshot of any specified Entities (virtual machine, Improved Virtual Disks, vApp).
Usage:
snaphost -create [-vim <vcenter>] [-dryrun] [-all] [-quiet] [-name <name>] snaphost -revert <name> [-vim <vcenter>] [-dryrun] [-force] [-all] [-quiet] snaphost -list [-vim <vcenter>] [-detail] [-all] snaphost -remove <name,..,name> [-vim <vcenter>] [-dryrun] [-force] [-all] [-quiet] snaphost -deleteall [-vim <vcenter>] [-dryrun] [-force] [-all] [-quiet] snaphost -help
Arguments:
-create Create a new snapshot. -revert <name> Revert to a snapshot. -list List Snapshot hierarchy. -remove <name,..,name> Delete the Virtual machine. -deleteall Delete any snapshot associated to the entity/entities. -help Help -vim <vcenter> Target a specific vim service <vim> (uuid,url) -dryrun Do not snap really. -detail Show details. Used with list -force Force the Snapshot operation. -all Operation apply to any Virtual Machines. -quiet No confirmation is asked. -name <name> Used by create
Examples:
snap list all vim 9a583042-cb9d-5673-cbab-56a02a91805d Show any snapshot of any available object on vCenter 9a583042-cb9d-5673-cbab-56a02a91805d
snap create vm:testVM vm:vm-2313 ivd:f9ad3050-d5a6-d107-d0d8-d305c4bc2330 Create a snapshot 3 different objects. 1st a VM selected by name. 2nd a VM selected by Moref. 3rd an IVD selected by UUID
snap deleteall all vm Delete any snapshot from any VM