2018-07-06 14:45:37 +01:00
|
|
|
# snapper
|
|
|
|
|
2018-07-06 14:53:43 +01:00
|
|
|
> Filesystem snapshot management tool.
|
2019-07-23 04:39:39 +01:00
|
|
|
> More information: <http://snapper.io/manpages/snapper.html>.
|
2018-07-06 14:45:37 +01:00
|
|
|
|
|
|
|
- List snapshot configs:
|
|
|
|
|
|
|
|
`snapper list-configs`
|
|
|
|
|
|
|
|
- Create snapper config:
|
|
|
|
|
2018-07-08 16:30:22 +01:00
|
|
|
`snapper -c {{config}} create-config {{path/to/directory}}`
|
2018-07-06 14:45:37 +01:00
|
|
|
|
2019-07-23 04:39:39 +01:00
|
|
|
- Create a snapshot with a description:
|
2018-07-06 14:45:37 +01:00
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`snapper -c {{config}} create -d "{{snapshot_description}}"`
|
2018-07-06 14:45:37 +01:00
|
|
|
|
2019-07-23 04:39:39 +01:00
|
|
|
- List snapshots for a config:
|
2018-07-06 14:45:37 +01:00
|
|
|
|
2019-07-23 04:39:39 +01:00
|
|
|
`snapper -c {{config}} list`
|
2018-07-06 14:45:37 +01:00
|
|
|
|
|
|
|
- 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
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`snapper -c {{config}} delete {{snapshot1}}-{{snapshot2}}`
|