Skip to content

Instantly share code, notes, and snippets.

@danielrosehill
Created May 4, 2025 18:12
Show Gist options
  • Select an option

  • Save danielrosehill/7fe85e29070a7a9fa0efed15e2fa2ba3 to your computer and use it in GitHub Desktop.

Select an option

Save danielrosehill/7fe85e29070a7a9fa0efed15e2fa2ba3 to your computer and use it in GitHub Desktop.
Overview of utilities designed for Btrfs-to-Btrfs backups using snapshots and send/receive functionality.

Q&A: Are There Utilities for Btrfs-to-Btrfs Backups Using Snapshots?

This summarizes a user question:

Are there utilities specifically designed for Btrfs-to-Btrfs backups or copies where snapshots are involved?


✅ Yes — Several Tools Leverage Btrfs Snapshot and Send/Receive Features

Btrfs offers native support for snapshots and incremental backups via btrfs send/receive. The following tools streamline the process of backing up and replicating Btrfs filesystems:


🧰 Tools for Btrfs Snapshot Management and Backups

1. btrbk

  • Best for: Automated local and remote backups
  • Features:
    • Snapshot creation and pruning
    • Incremental send/receive
    • Configurable retention policies
  • Install:
    sudo dnf install btrbk

### 2. **Snapper**

* **Best for**: Local snapshot management (originated from openSUSE)
* **Features**:

  * Automatic pre/post update snapshots
  * Snapshot diffing and rollback
* **Install**:

  ```bash
  sudo dnf install snapper
  ```

### 3. **Sanoid/Syncoid**

* **Best for**: ZFS-like automation with Btrfs
* **Features**:

  * Scheduled snapshots and pruning (Sanoid)
  * Incremental replication (Syncoid)
* **Install**:

  ```bash
  sudo dnf install sanoid syncoid
  ```

### 4. **btrfs-assistant**

* **Best for**: GUI-based Btrfs snapshot and backup management
* **Features**:

  * Visual snapshot browser
  * Scheduled snapshot + send/receive setup
* **Install**:

  ```bash
  flatpak install flathub org.kde.btrfsassistant
  ```

### 5. **btrfs-send-receive (script-based)**

* **Best for**: Custom automation
* **Features**:

  * Scriptable snapshot transfer
  * Incremental and full backups

### 6. **SnapSync**

* **Best for**: Lightweight snapshot sync tool
* **Features**:

  * Finds latest snapshot and syncs to destination
  * Prunes old snapshots

---

## 🏁 Recommendation Summary

| Use Case                | Tool                        |
| ----------------------- | --------------------------- |
| Best automation overall | `btrbk`                     |
| GUI preference          | `btrfs-assistant`           |
| Lightweight CLI setup   | `Snapper` or custom scripts |
| Cross-machine syncing   | `Syncoid`, `SnapSync`       |

---

*This gist was generated with the help of OpenAI based on a user prompt about Btrfs-to-Btrfs snapshot replication tools (May 2025).*

 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment