2025-03-14 21:59:59 -06:00
|
|
|
# snapper
|
|
|
|
|
|
|
|
|
|
> Filesystem snapshot management tool.
|
|
|
|
|
> More information: <http://snapper.io/manpages/snapper.html>.
|
|
|
|
|
|
|
|
|
|
- List snapshot configs:
|
|
|
|
|
|
|
|
|
|
`snapper list-configs`
|
|
|
|
|
|
|
|
|
|
- Create snapper config:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`snapper {{[-c|--config]}} {{config}} create-config {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a snapshot with a description:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`snapper {{[-c|--config]}} {{config}} create {{[-d|--description]}} "{{snapshot_description}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List snapshots for a config:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`snapper {{[-c|--config]}} {{config}} list`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Delete a snapshot:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`snapper {{[-c|--config]}} {{config}} delete {{snapshot_number}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Delete a range of snapshots:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`snapper {{[-c|--config]}} {{config}} delete {{snapshot1}}-{{snapshot2}}`
|