Seite 1 von 1

Raspberry Pi Cloner

Verfasst: 17. Okt 2026 18:13
von Pierrecinema
rpi-image-cloner ist ein selbst gehostetes Web-Tool zum automatischen Backup von Raspberry Pi SD-Karten auf USB SD Karte im laufenden Betrieb. mit automatischen Wochenplänen, Boot-Partition Auto-Fix und einer übersichtlichen Browser-Oberfläche.

Bild

https://community.openhab.org/t/rpi-ima ... ner/170704

Funktionsweise:

Tool verbindet sich per SSH mit dem Raspberry Pi
Startet rpi-clone auf dem Pi (klont die laufende SD-Karte auf eine Backup-Karte)
Repariert automatisch cmdline.txt und fstab auf der Backup-Karte (korrekte PARTUUID)
Die Backup-Karte ist direkt bootfähig — kein manueller Eingriff nötig
Für Portainer-Nutzer: Das docker-compose.yml kann direkt als Stack in Portainer eingefügt werden. Volume rpi_cloner_data speichert die Datenbank persistent.


How it works
The tool connects to your Raspberry Pi via SSH
Starts rpi-clone on the Pi (clones the running SD card to a backup card)
Automatically repairs cmdline.txt and fstab on the backup card (correct PARTUUID)
The backup card is directly bootable — no manual intervention needed
Portainer users: The docker-compose.yml can be pasted directly as a stack in Portainer. The volume rpi_cloner_data stores the database persistently.

✨ Features
Automated backups — weekly schedules via cron, runs while you sleep
Boot auto-fix — automatically repairs cmdline.txt and fstab after clone (correct PARTUUID)
Progress monitoring — live progress display with elapsed time and data copied
Backup verification — checks filesystem integrity after backup
SSH keepalive — stable connections even for backups taking 2+ hours
Encrypted credentials — SSH passwords stored with Fernet encryption
Multiple servers — manage several Raspberry Pis from one interface