Skip to content
raspiBackup

Free software · GPL-3.0 · since 2013 Latest release v0.7.4

Backups for your Raspberry Pi. Free & open source.

raspiBackup backs up your Raspberries regularly and unattended and maintains a configurable backup history. Restore a backup and your system boots right away. An open source project by framp, developed with the help of the community – no subscription, no cloud, no catch.

Install – just run this in a terminal:

curl -sSLO --fail https://raw.githubusercontent.com/framps/raspiBackup/master/published/raspiBackupInstallUI.sh && sudo bash ./raspiBackupInstallUI.sh
  • Raspberry Pi 1 – 5including Zero, 400, 500 and Compute Module 4 and 5
  • SD · eMMC · USB · SSD · NVMeSupported boot devices
  • dd · tar · rsyncFull and incremental backups
  • Raspberry Pi OS & UbuntuSupported operating systems

Open source

Free, open and community-driven

raspiBackup is not a company’s product but an open source project: developed by framp since 2013, tested on real Raspberries, and improved by the ideas, bug reports and beta tests of many users.

  • since 2013in development
  • ★ 1,040GitHub stars
  • 90forks on GitHub
  • GPL-3.0free license

Free – forever

No license fees, no subscription, no ads and no limited “free” edition. Every feature is available to everyone.

Open source code

Every line is on GitHub. You see exactly what raspiBackup does to your system – and you can review, adapt and improve it.

Your data stays with you

No cloud, no account, no tracking. Your backups go where you want them: a USB disk, an SSD or your NAS.

No lock-in

raspiBackup uses proven standard tools: dd, tar and rsync. dd backups can even be restored with any image tool.

Developed with the community

Many features started as suggestions from users and were tested by the community before their release. Support is given by framp personally in GitHub Discussions and issues, news also on Facebook, Reddit and X.

Contributions welcome

Ideas, beta tests, translations or code – every contribution helps. And if you like, leave a tip.

Thank you, rpi-simonz! Special thanks go to rpi-simonz for setting up the raspiBackup documentation on GitHub, moving all pages over from framp’s homepage, and the intensive support during their revision.

Features

What raspiBackup can do

From the first installation to a restore in an emergency – raspiBackup takes care of 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 500 and on Compute Modules 4 and 5 (CM4, CM5) 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

Hardware

Made for the Raspberry Pi

raspiBackup is developed specifically for Raspberry Pi hardware and Raspberry Pi OS, and tested on real Raspberries.

  • Raspberry Pi 5 SD card · USB boot · NVMe
  • Raspberry Pi 500 SD card · USB boot · NVMe
  • Raspberry Pi 4 · 400 SD card · USB boot
  • Raspberry Pi 3 SD card · USB boot
  • Raspberry Pi 1 · 2 · Zero SD card · hybrid USB boot
  • Compute Module 4 · 5 SD card · eMMC · USB boot · NVMe

All boot modes

  • SD card: boot and root filesystem on the SD card (all models with an SD card slot)
  • Hybrid USB boot: boot from the SD card, root filesystem on a USB device (Raspberry Pi 1, 2 and Zero)
  • USB boot: boot directly from a USB device (all models from Raspberry Pi 3)

Boot devices

  • SD card
  • eMMC (Compute Module 4 and 5)
  • USB disk and SSD
  • NVMe (Raspberry Pi 5, 500, CM4, CM5)

Backup targets

  • USB disk and USB flash drive
  • Network drives via NFS, SMB or WebDAV – e.g. a Synology via NFS
  • In short: anything that can be mounted on Linux

Other boards such as Banana Pi, Odroid or Beagle Board may work with the option --unsupportedEnvironment – but only Raspberry Pi hardware is supported.

Community

Questions, ideas, conversation

Support comes directly from framp – preferably via GitHub Discussions or issues. You will also find news and conversation on Facebook, Reddit and X. Registration on GitHub is free – just use it.

Why tips? raspiBackup is and will remain free. On principle, SD cards, USB disks and new Raspberry hardware for development and testing are bought only from tips, even though the developer could pay for them. That way users can make a contribution of any size, however small, to the free raspiBackup. Living on tips for raspiBackup is neither possible nor necessary – but every tip recognises the work and the effort of development and maintenance and supports the further development and maintenance of raspiBackup.

Let’s go.

Create your first backup in 5 minutes 🙂

Open the installation guide