https://github.com/raspberryfpc/pibackup
Portable live backup tool for Raspberry Pi with GUI, Zstandard compression, auto-shrinking (resize2fs) and flexible restore.
https://github.com/raspberryfpc/pibackup
backup compress disk-imaging fpc freepascal gui hdd linux live-backup raspberry-pi resize2fs restore shrink shrink-image ssd system-backup zstandard zstd
Last synced: 2 months ago
JSON representation
Portable live backup tool for Raspberry Pi with GUI, Zstandard compression, auto-shrinking (resize2fs) and flexible restore.
- Host: GitHub
- URL: https://github.com/raspberryfpc/pibackup
- Owner: RaspberryFpc
- License: mit
- Created: 2025-07-16T13:30:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-12-18T17:43:24.000Z (6 months ago)
- Last Synced: 2025-12-21T08:35:26.273Z (6 months ago)
- Topics: backup, compress, disk-imaging, fpc, freepascal, gui, hdd, linux, live-backup, raspberry-pi, resize2fs, restore, shrink, shrink-image, ssd, system-backup, zstandard, zstd
- Language: Pascal
- Homepage: https://raspberryfpc.github.io/pibackup/
- Size: 9.25 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# π 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\
π§ Empty sectors filled with 0xFF (better compression)
## π 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)
``` bash
# Download latest release, unzip, and install
# Automatically installs all dependencies (e.g.Β zstd)
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/RaspberryFpc-pibackup-*/bin/pibackup.deb
```
## βΆοΈ Start
``` bash
pibackup
```
Or via menu:
``` text
Utility β PiBackup
```
---
## βοΈ Alternative Installation (Fallback)
``` bash
sudo dpkg -i pibackup.deb
sudo apt -f install
```
## π§° 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
raspberry-udp_audio_receiver -- Low latency audio over UDP\
DS18B20-FPC-Pi-GUI -- Temperature sensor GUI\
RaspberryPi-BME280-GUI -- Sensor access GUI\
RaspberryPi-GPIOv2-FPC -- GPIO control unit