Skip to content

Commit

Permalink
Update 08-snapshots.md (#2549)
Browse files Browse the repository at this point in the history
fixed changes to incus snapshot cli commands.
  • Loading branch information
samcharles93 authored Dec 31, 2024
1 parent d5fbd77 commit 0ac1f5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/books/incus_server/08-snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can even snapshot a container when it is running.
Start by getting a snapshot of the ubuntu-test container by using this command:

```bash
incus snapshot ubuntu-test ubuntu-test-1
incus snapshot create ubuntu-test ubuntu-test-1
```

Here, you call the snapshot "ubuntu-test-1", but you can call it anything. To ensure that you have the snapshot, do an `incus info` of the container:
Expand Down Expand Up @@ -63,7 +63,7 @@ incus stop ubuntu-test
Restore it:

```bash
incus restore ubuntu-test ubuntu-test-1
incus snapshot restore ubuntu-test ubuntu-test-1
```

Start the container again:
Expand All @@ -77,7 +77,7 @@ If you return to the container again and look, the "this_file.txt" you created i
When you do not need a snapshot anymore, you can delete it:

```bash
incus delete ubuntu-test/ubuntu-test-1
incus snapshot delete ubuntu-test ubuntu-test-1
```

!!! warning
Expand Down

0 comments on commit 0ac1f5d

Please sign in to comment.