rusnapshot

BTRFS snapshotting utility written in Rust.

TLDR

Create a snapshot using a config file

$ sudo rusnapshot --config [path/to/config.toml] --cr
copy

List created snapshots

$ sudo rusnapshot -c [path/to/config.toml] --list
copy

Delete a snapshot by ID or the name of the snapshot

$ sudo rusnapshot -c [path/to/config.toml] --del --id [snapshot_id]
copy

Delete all hourly snapshots

$ sudo rusnapshot -c [path/to/config.toml] --list --keep [0] --clean --kind [hourly]
copy

Create a read-write snapshot

$ sudo rusnapshot -c [path/to/config.toml] --cr --rw
copy

Restore a snapshot

$ sudo rusnapshot -c [path/to/config.toml] --id [snapshot_id] --restore
copy

Copied to clipboard
Dodo Farming