官术网_书友最值得收藏!

sub-commands

There are six sub-commands available for the snapshot command:

  • vagrant snapshot delete [INSERT VALUE] [INSERT VALUE]: The first parameter is the virtual machine name and the second parameter is the name of the snapshot you wish to delete.
  • vagrant snapshot list [INSERT VALUE]: The parameter can optionally be the Vagrant machine name. This command will list all available snapshots on your system or all snapshots for a certain Vagrant machine if the parameter is specified.
  • vagrant snapshot push: This can be used to create a new snapshot of a running Vagrant environment. It will add this onto the Snapshot stack.
  • vagrant snapshot pop: This can be used as an opposite to the push command to reverse a snapshot that has been pushed.
  • vagrant snapshot save [INSERT VALUE] [INSERT VALUE]: This saves a snapshot of the current machine. It's similar to the push command, but it is recommended that you do not mix this command with push or pop as it is unsafe. The first parameter is the virtual machine name and the second parameter is the snapshot name.
  • vagrant snapshot restore [INSERT VALUE] [INSERT VALUE]: This restores a supplied snapshot. The first parameter is the virtual machine name and the second is the name of the snapshot you wish to restore to.
主站蜘蛛池模板: 尉氏县| 枣庄市| 无棣县| 莎车县| 大港区| 山西省| 满洲里市| 大冶市| 昆山市| 洪洞县| 和硕县| 雅安市| 宁津县| 临桂县| 平泉县| 阿拉善左旗| 鄂尔多斯市| 湘西| 永顺县| 会同县| 游戏| 金门县| 东安县| 鄱阳县| 新宁县| 孟津县| 建宁县| 那曲县| 得荣县| 梁山县| 当阳市| 蓬安县| 鹤庆县| 遵义市| 台江县| 平顶山市| 磐石市| 德惠市| 类乌齐县| 崇文区| 织金县|