Added snapper notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-04-17 20:38:41 +02:00
parent 4716b40eef
commit 70e4e8766b

31
knowledge base/snapper.md Normal file
View File

@@ -0,0 +1,31 @@
# Snapper
## TL;DR
```shell
# list existing configurations
snapper list-config
# list existing snapshots
snapper list
# create a manual standalone snapshot
snapper --config root create --type single --description "manual checkpoint" --userdata "important=yes" --read-only
# rollback to snapshot 0
snapper rollback 0
# delete one or more snapshots
snapper delete 5
snapper delete --sync {7..9}
# compare 2 snapshots
snapper status 0..6
snapper diff 6..21
```
## Further readings
- [Arch Wiki]
[arch wiki]: https://wiki.archlinux.org/title/snapper