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

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.
主站蜘蛛池模板: 攀枝花市| 和平县| 冀州市| 土默特左旗| 登封市| 新乡市| 凤城市| 闽清县| 望江县| 长阳| 来安县| 樟树市| 招远市| 富顺县| 滦平县| 五原县| 南木林县| 红原县| 玛纳斯县| 如东县| 南京市| 定结县| 东莞市| 阳朔县| 湘乡市| 黎平县| 师宗县| 稻城县| 宜章县| 金堂县| 清流县| 文安县| 肇庆市| 林州市| 临邑县| 灌阳县| 安顺市| 古交市| 敖汉旗| 台安县| 石楼县|