Skip to content
raspiBackup

Open source · GPL-3.0 Latest release v0.7.4

Back up your Raspberries. Automatically. Reliably.

raspiBackup creates regular, unattended full system backups of your Raspberries and maintains a configurable backup history. Restore a backup and your system boots right away.

Install – just run this in a terminal:

curl -sSLO --fail https://raw.githubusercontent.com/framps/raspiBackup/master/published/raspiBackupInstallUI.sh && sudo bash ./raspiBackupInstallUI.sh
  • dd · tar · rsyncFull and incremental backups
  • SD · USB · SSD · NVMeAll boot modes supported
  • 5 languagesEN · DE · FI · FR · ZH
  • Raspberry Pi OS & UbuntuSupported operating systems

Features

Everything a professional backup needs

From the first installation to a restore in an emergency – raspiBackup covers the complete lifecycle of your backups.

Regular, fully automatic backups

No more manual backups – a regular backup is never forgotten again. Either the two Raspberry Pi OS partitions are saved (normal backup mode) or any configurable set of partitions (partition-oriented backup mode), so dedicated data partitions can be included as well.

Menu-driven installer

Install and configure the major options just like raspi-config – in English, German, Finnish, Chinese or French – and create your first backup in 5 minutes. All the more sophisticated options are described in the documentation.

Full and incremental backups

Backup types dd and tar create full backups. Backup type rsync creates incremental backups and saves time and space. Whatever type you use, a restored system boots immediately.

Smart rotation (GFS)

Keep a fixed number of recent backups, or use the grandfather-father-son strategy (smart recycle) to maintain a long backup history with minimal space.

Standby clone

Since release 0.7.3, raspiBackup can create a clone on a locally connected device after every backup (option --clone). If your system fails, simply boot from the clone – no time-consuming restore required, minimal downtime. With rsync the clone is updated in no time. How to set up the clone.

Snapshots

Create a snapshot with a comment before major updates or installations. If something goes wrong or the system no longer boots, restore the snapshot and continue from there instead of starting from scratch.

And much more

Notifications

Receive the result of every backup run by e-mail, Telegram, Pushover or Slack. Smileys show success 🙂 or failure 🙁 at a glance – and remind you of new releases or your next restore test.

Restore on Windows

dd backups can be restored on Windows with win32diskimager or similar tools. tar and rsync backups need a Linux system – which can be a Raspberry 🙂

Easy system migration

Restore any backup to an SD card, USB disk, USB flash drive, SSD or NVMe drive – and your system has moved to a new device.

NVMe support

NVMe storage on the Raspberry Pi 5 and Compute Module 4 (CM4) is supported.

Extension points

Run your own logic at various steps of backup and restore – for example, an extension stops all Docker containers before the backup and restarts them afterwards.

Update notifications

raspiBackup tells you when a new release or beta is available. Upgrading – and downgrading again – is easy.

Automated regression tests

Backup and restore are regression-tested for all backup types and modes, so every new release works as reliably as the last.

Helper and sample scripts

Various helper and sample scripts are available on GitHub.

How it works

Your first backup in three steps

  1. 1

    Install

    Start the installer with a single command – menu-driven, just like raspi-config.

  2. 2

    Configure

    Choose backup target, backup type, how many backups to keep and how to be notified.

  3. 3

    Relax

    raspiBackup now backs up automatically and reports every run to you.

Demo

See the installation in action

This is how easily raspiBackup is installed and configured. Chinese, Finnish, French and German are supported too.

Animated demo of the menu-driven raspiBackup installer

More videos on YouTube

Compatibility

Runs wherever your Raspberry runs

All boot modes

  • SD card: both partitions on the SD card (any model)
  • Hybrid: boot from SD card, root partition on USB – for older models without USB boot (2A, 2B)
  • USB boot: both partitions on a USB device or SSD (3B, 4, 400, 5)

Storage

  • SD card, USB flash drive, USB disk and SSD
  • NVMe (Raspberry Pi 5, CM4)
  • Local disks or network shares – e.g. a Synology via NFS

Community

Open source with an active community

raspiBackup is published under the GNU license and free to use. Donations are welcome and support further development. Registration on GitHub is free – just use it.

Let’s go.

Create your first backup in 5 minutes 🙂

Open the installation guide