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

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.
主站蜘蛛池模板: 乐安县| 永川市| 泗洪县| 峨山| 牡丹江市| 正宁县| 法库县| 五莲县| 台南市| 云和县| 大余县| 白朗县| 越西县| 汉源县| 普安县| 新丰县| 桦甸市| 繁峙县| 乌兰浩特市| 闽侯县| 湖口县| 运城市| 大厂| 四川省| 江门市| 东乡| 南丰县| 五家渠市| 称多县| 中卫市| 炎陵县| 广宁县| 桦南县| 海兴县| 南华县| 日照市| 合江县| 久治县| 大港区| 长顺县| 鄂尔多斯市|