- 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操作系統基礎
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- Haskell Financial Data Modeling and Predictive Analytics
- Windows Server 2012網絡操作系統企業應用案例詳解
- 細說Linux基礎知識
- jQuery UI Cookbook
- RHCSARHCE 紅帽Linux認證學習指南(第7版)EX200 & EX300
- Social Data Visualization with HTML5 and JavaScript
- 計算機應用基礎(Windows 7+Office 2016)
- Introduction to R for Quantitative Finance
- Heroku Cloud Application Development
- Windows Server 2008組網技術與實訓(第3版)
- Web Penetration Testing with Kali Linux(Third Edition)
- Multi-Cloud for Architects
- Getting Started with UDK