mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 22:55:42 +02:00

* vagrant-snapshot: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Magrid <magrid0@proton.me>
25 lines
599 B
Markdown
25 lines
599 B
Markdown
# vagrant snapshot
|
|
|
|
> Manage snapshots of Vagrant machines.
|
|
> See also: `vagrant`.
|
|
> More information: <https://developer.hashicorp.com/vagrant/docs/cli/snapshot>.
|
|
|
|
- Take a snapshot of the machine (running or stopped):
|
|
|
|
`vagrant snapshot save {{snapshot_name}}`
|
|
|
|
- Restore a snapshot and start the machine:
|
|
|
|
`vagrant snapshot restore {{snapshot_name}}`
|
|
|
|
- Restore a snapshot without starting the machine:
|
|
|
|
`vagrant snapshot restore --no-start {{snapshot_name}}`
|
|
|
|
- Delete a snapshot:
|
|
|
|
`vagrant snapshot delete {{snapshot_name}}`
|
|
|
|
- List available snapshots of the machine:
|
|
|
|
`vagrant snapshot list`
|