• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

rusnapshot: command not found in Linux

by Deepika

rusnapshot is a BTRFS snapshotting utility written in Rust. BTRFS (B-Tree File System) is a modern, feature-rich file system that is available on Linux. It is designed to provide advanced features such as snapshots, cloning, and subvolumes, making it well-suited for backup and data protection tasks.

rusnapshot is designed to make it easier to manage BTRFS snapshots by providing a simple and intuitive command-line interface. With rusnapshot, users can create and manage BTRFS snapshots, as well as schedule snapshots to be taken automatically at specified intervals.

Here are some of the features and capabilities of rusnapshot:

  • Snapshot creation and deletion: rusnapshot allows users to create and delete BTRFS snapshots with ease. Users can specify the name of the snapshot, as well as the subvolume or path that they want to create a snapshot of.
  • Snapshot management: rusnapshot provides commands for listing and managing BTRFS snapshots. Users can list all snapshots, show information about a specific snapshot, or delete snapshots that are no longer needed.
  • Snapshot scheduling: rusnapshot makes it easy to schedule BTRFS snapshots to be taken automatically at specified intervals. Users can specify the interval at which they want to take snapshots, as well as the retention policy for old snapshots.
  • Backup and restore: rusnapshot can be used to create backups of BTRFS subvolumes or paths, which can be stored on local or remote storage devices. Users can also restore backups from these devices using rusnapshot.

rusnapshot Command Examples

1. Create a snapshot using a config file:

# rusnapshot --config {{path/to/config.toml}} --cr

2. List created snapshots:

# rusnapshot -c {{path/to/config.toml}} --list

3. Delete a snapshot by ID or the name of the snapshot:

# rusnapshot -c {{path/to/config.toml}} --del --id{{snapshot_id}}

4. Delete all hourly snapshots:

# rusnapshot -c {{path/to/config.toml}} --list --keep{{0}} --clean --kind {{hourly}}

5. Create a read-write snapshot:

# rusnapshot -c {{path/to/config.toml}} --cr --rw

6. Restore a snapshot:

# rusnapshot -c {{path/to/config.toml}} --id{{snapshot_id}} --restore

Summary

Overall, rusnapshot is a useful tool for managing BTRFS snapshots and simplifying the process of data protection and backup on Linux systems. Its simple command-line interface and powerful features make it well-suited for both casual and advanced users. More information about rusnapshot, including installation instructions and usage examples, can be found on its GitHub repository at https://github.com/Edu4rdSHL/rusnapshot.

Filed Under: Linux

Some more articles you might also be interested in …

  1. asciidoctor: A processor that converts AsciiDoc files to a publishable format
  2. CentOS / RHEL : How to extend Physical Volume in LVM by extending the Disk Partition used
  3. ifconfig: command not found
  4. bsdtar command – Read and write tape archive files
  5. espeak: Uses text-to-speech to speak through the default sound device
  6. hello Command Examples
  7. pngcheck: command not found
  8. How to Disable IPv6 on Ubuntu 20.04 Focal Fossa
  9. faillog Command Examples in Linux
  10. How to Map Static IP to your Domain (with GoDaddy example)

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright