tldr/pages/linux/snapper.md

28 lines
477 B
Markdown
Raw Normal View History

2018-07-06 14:45:37 +01:00
# snapper
2018-07-06 14:53:43 +01:00
> Filesystem snapshot management tool.
2018-07-06 14:45:37 +01:00
- List snapshot configs:
`snapper list-configs`
- Create snapper config:
`snapper -c {{config}} create-config {{path/to/subvolume}}`
- List snapshots for a config:
`snapper -c {{config}} list`
- Create a new snapshot:
`snapper -c {{config}} snapshot`
- Delete a snapshot:
`snapper -c {{config}} delete {{snapshot_number}}`
2018-07-07 18:10:08 +01:00
- Delete a range of snapshots:
2018-07-06 14:45:37 +01:00
2018-07-07 18:10:08 +01:00
`snapper -c {{config}} delete {{snapshot_X}}-{{snapshot_Y}}`