Files
cheatsheet-tldr/tldr/linux/snapper
2025-04-20 00:20:58 +00:00

34 lines
768 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# snapper
> Filesystem snapshot management tool.
> More information: <http://snapper.io/manpages/snapper.html>.
- List snapshot configs:
`snapper list-configs`
- Create snapper config:
`snapper {{[-c|--config]}} {{config}} create-config {{path/to/directory}}`
- Create a snapshot with a description:
`snapper {{[-c|--config]}} {{config}} create {{[-d|--description]}} "{{snapshot_description}}"`
- List snapshots for a config:
`snapper {{[-c|--config]}} {{config}} list`
- Delete a snapshot:
`snapper {{[-c|--config]}} {{config}} delete {{snapshot_number}}`
- Delete a range of snapshots:
`snapper {{[-c|--config]}} {{config}} delete {{snapshot1}}-{{snapshot2}}`