...
- Improvements
Manage virtual machine snapshots with actions divided into commands mk to create, rm to delete and re to revert.
Code Block vss compute vm set <uuid> snapshot --help Usage: vss compute vm set snapshot [OPTIONS] COMMAND [ARGS]... Manage virtual machine snapshots. Create, delete and revert virtual machine snapshot on a given date and time. Options: --help Show this message and exit. Commands: mk Create snapshot re Revert snapshot rm Remove snapshot
For example, create snapshot is as simple as described in the following command:
Code Block vss compute vm set 50128d83-0fcc-05e3-be71-d972ffdf3284 snapshot mk \ --description 'Before doing a difficult upgrade' --timestamp '2017-03-14 22:30' \ --lifetime 24
To revert, issue the re command:
Code Block vss compute vm set 50128d83-0fcc-05e3-be71-d972ffdf3284 snapshot re <snapshot-id>
To delete, use the rm command:
Code Block vss compute vm set 50128d83-0fcc-05e3-be71-d972ffdf3284 snapshot rm <snapshot-id>
Note |
---|
Remember, VSSCLI documentation is now available in EIS - VSS - VSSCLI |
...