1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 20:35:25 +02:00
tldr/pages/linux/rusnapshot.md
Managor ae436c1b00
linux/*: add option placeholders (#16192)
* batch1

* batch2

* batch3

* batch4

* Update matchpathcon.md

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 21:21:53 +00:00

882 B

rusnapshot

BTRFS snapshotting utility written in Rust. More information: https://github.com/Edu4rdSHL/rusnapshot.

  • Create a snapshot using a configuration file:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr

  • List created snapshots:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}}

  • Delete a snapshot by ID or the name of the snapshot:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --del --id {{snapshot_id}}

  • Delete all hourly snapshots:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}} {{[-k|--keep]}} {{0}} --clean --kind {{hourly}}

  • Create a read-write snapshot:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr {{[-r|--rw]}}

  • Restore a snapshot:

sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --id {{snapshot_id}} {{[-r|--restore]}}