pibackup – Raspberry Pi Backup & Restore Tool

Portable live backup & restore for Raspberry Pi, Linux, SD cards & SSDs

Raspberry Pi Backup – Main Features

With pibackup you can create a reliable Raspberry Pi backup on SD card, SSD, or HDD. Supports live backup of running systems including the first two partitions (/boot and /root).

For a full step-by-step guide, see the Raspberry Pi Backup & Restore Guide.

Raspberry Pi Backup – Restore Options

With pibackup you can fully restore /boot and /root, including MBR (sector 0). The backup always covers from sector 0 to the end of the second partition. The final size of the /root partition can be adjusted via the live GUI before writing.

Raspberry Pi Backup – Screenshot

Screenshot of pibackup GUI

Download & Source Code

GitHub Project

FAQ

How can I back up my Raspberry Pi SD card?

You can create a full Raspberry Pi SD card backup with pibackup. The tool supports live backup of running systems, so you don’t need to shut down your Raspberry Pi.

How do I create a Raspberry Pi image backup?

With pibackup you can generate a compressed .img.zst image file of your Raspberry Pi. This backup can later be restored to the same SD card, a larger or smaller card, or even to an SSD/HDD.

Can I save my Raspberry Pi backup to USB or NAS?

Yes, you can store backups on external USB drives, SSDs, HDDs, or directly on network-attached storage (NAS). This is the safest way to keep your Raspberry Pi backups.

Is pibackup an alternative to raspiBackup?

Yes. pibackup is a portable alternative to raspiBackup, offering a graphical interface, live backup capability, and modern zstd compression.

What is always backed up?

pibackup always backs up /boot and /root including the MBR. The backup covers everything from sector 0 to the end of the second partition.

How does restore work?

During restore, /boot and /root are fully restored, including MBR. You can also enable SSH, set/change username and password, and configure Wi-Fi (SSID + PSK). The final size of the /root partition can be adjusted via the live GUI before writing.

Can I adjust the root partition during restore?

Yes, you can adjust the size of the /root partition during the restore process. The live GUI shows a slider and partition layout preview so you can adjust sizes before writing the backup.

Other Projects by the Author