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

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.
主站蜘蛛池模板: 海伦市| 桂林市| 东明县| 博兴县| 安泽县| 甘肃省| 宜丰县| 江油市| 河源市| 高雄县| 石楼县| 卫辉市| 五峰| 乐平市| 昭通市| 凉城县| 安国市| 淅川县| 武城县| 阿拉善右旗| 松滋市| 桃江县| 晋中市| 洛宁县| 塔河县| 莆田市| 阳城县| 兴安盟| 黑龙江省| 楚雄市| 信宜市| 克东县| 南充市| 百色市| 铜梁县| 永清县| 呼伦贝尔市| 青海省| 通海县| 永川市| 岢岚县|