Skip to content

RaspberryFpc/pibackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

230 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 pibackup -- Raspberry Pi Backup & Restore Tool

pibackup is a portable 64-bit backup and restore tool with a simple graphical user interface,
designed for Raspberry Pi and Linux systems. It can create, shrink, compress (Zstandard) and restore images of SD cards, SSDs and HDDs.
Backups are safe, flexible, and can be restored directly from .img or .img.zst files. 👉 Unlike typical SD card tools, pibackup works with large storagedevices (SSD/HDD) as well as smaller SD cards.

✨ Features

🖥️ Simple graphical user interface (GUI)
⚡ 64-bit Linux application (ARM64)
💾 Backup of first two partitions (/boot + /root)
🚫 Configurable exclude file
🔐 Optional removal of SSH & DHCP configs
📉 Automatic image shrinking
🗜️ Compression with Zstandard (.zst)
💽 Supports SD, SSD, HDD and other block devices
🧠 Unused sectors are overwritten with 0xFF to improve compression efficiency and remove unwanted residual data.

🔄 Restore Features

📂 Restore from .img or .img.zst
🎯 Device selection via dropdown list
📏 Adjustable partition size
👀 Live partition preview
🧱 Optional partition deletion
📐 Filesystem auto-resize

⚙️ Headless Setup Options

For fresh Raspberry Pi setups:

  • enable SSH on first boot
  • Set username & password
  • Configure WiFi (SSID + PSK)

📦 Download and Installation

📥 Install (Recommended)

# Download latest release, unzip, and install
# Automatically installs all dependencies (e.g. zstd)
rm -rf /tmp/pibackup /tmp/pibackup.zip && \
wget -O /tmp/pibackup.zip "https://sourceforge.net/projects/pibackup/files/latest/download" && \
unzip -o /tmp/pibackup.zip -d /tmp/pibackup && \
sudo apt install /tmp/pibackup/*/bin/pibackup.deb

▶️ Start

sudo /path/to/pibackup

Or via menu:

Utility → PiBackup

⚙️ Alternative Installation (Fallback)

sudo dpkg -i pibackup.deb
sudo apt -f install

or

sudo apt install pibackup.de

🧰 Requirements

Linux (ARM64)
No manual dependency installation required
All dependencies are handled via .deb


🛠️ Build Information

Developed with CodeTyphon Gui:Qt5 Target: 64-bit ARM (arm64) Tested on: Raspberry Pi 4
Raspberry Pi 5
Debian Bookworm / Trixie (X11)


📜 License

MIT License -- see LICENSE

⚠️ Disclaimer:

This tool works directly on storage devices.
Incorrect usage may result in data loss.


👤 Author

RaspberryFpc


🛟 Emergency Recovery

💡 Create a rescue SD card with Linux + pibackup.

In case of system failure:

  • Boot rescue system
  • Restore your backup image
  • Get your system back instantly

🔗 Other Projects

Packages

 
 
 

Contributors