- Hands-On DevOps with Vagrant
- Alex Braunton
- 213字
- 2021-07-16 17:43:57
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.
推薦閱讀
- Linux內(nèi)核完全注釋(20周年版·第2版)
- FreeRTOS實(shí)時(shí)內(nèi)核應(yīng)用指南
- VMware Horizon View 6 Desktop Virtualization Cookbook
- 玩到極致 iPhone 4S完全攻略
- Extending Bootstrap
- 嵌入式Linux應(yīng)用開發(fā)菜鳥進(jìn)階
- 嵌入式系統(tǒng)及其應(yīng)用(第三版)
- Learning Magento 2 Administration
- Linux命令行大全(第2版)
- Advanced TypeScript Programming Projects
- Django Project Blueprints
- Python UNIX和Linux系統(tǒng)管理指南
- Linux系統(tǒng)最佳實(shí)踐工具:命令行技術(shù)
- Windows 7實(shí)戰(zhàn)從入門到精通(超值版)
- Windows Server 2008組網(wǎng)技術(shù)與實(shí)訓(xùn)(第3版)