Skip to content

Commit 0ac1f5d

Browse files
authored
Update 08-snapshots.md (#2549)
fixed changes to incus snapshot cli commands.
1 parent d5fbd77 commit 0ac1f5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/books/incus_server/08-snapshots.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can even snapshot a container when it is running.
2222
Start by getting a snapshot of the ubuntu-test container by using this command:
2323

2424
```bash
25-
incus snapshot ubuntu-test ubuntu-test-1
25+
incus snapshot create ubuntu-test ubuntu-test-1
2626
```
2727

2828
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:
@@ -63,7 +63,7 @@ incus stop ubuntu-test
6363
Restore it:
6464

6565
```bash
66-
incus restore ubuntu-test ubuntu-test-1
66+
incus snapshot restore ubuntu-test ubuntu-test-1
6767
```
6868

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

7979
```bash
80-
incus delete ubuntu-test/ubuntu-test-1
80+
incus snapshot delete ubuntu-test ubuntu-test-1
8181
```
8282

8383
!!! warning

0 commit comments

Comments
 (0)