r/raspberry_pi • • 4d ago

Show-and-Tell I built a web UI to automatically clone and backup Raspberry Pi SD cards via SSH — runs on Docker, fully bootable backup cards

Post image

Hey r/raspberry_pi! I built a small self-hosted tool to automate SD card backups for my Pis.

rpi-image-cloner connects to your Pi via SSH, runs rpi-clone to copy the running SD card to a backup card, and automatically repairs cmdline.txt and fstab (PARTUUID fix) — so the backup card boots directly without any manual steps.

Features:

Web UI with live progress + log

Weekly schedules (set it and forget it)

SSH keepalive for 2+ hour backups

Encrypted credential storage

Multiple Pis from one interface

Docker / Portainer one-liner setup

GitHub: https://github.com/pierrecinema/rpi-image-cloner

Feedback welcome — especially if you’re running large setups with multiple Pis!

20 Upvotes

18 comments sorted by

34

u/jarod1701 2d ago

Good old AI GUI theme

20

u/nickymoo 2d ago

A web UI is handy but I’m surprised you used the defunct rpi-clone and not the active version?

https://github.com/geerlingguy/rpi-clone/

48

u/steevdave 2d ago

The defunct one is the one the AI knows about.

16

u/nickymoo 2d ago

It’s such a shame when ai chooses to use a repo that hasn’t been updated for years when the actual Jeff Geerling hosts the active one. You’d have thought big brain AI would have noticed their selected repo had been abandoned in 2020.

7

u/steevdave 2d ago

I find that if I want to use a repo, I have to either have a local clone of it, or tell the AI the repo url to use, and maybe point it at the docs in the repo/url so it knows how to use the latest stuff properly.

5

u/edmunek 1d ago

exactly this. cant tell how much vibe coded staff there is using tools that shouldn't be used anymore

-27

u/Potential_Thing1766 2d ago

im use the tool a long time

11

u/nickymoo 2d ago

You might want to update from the abandoned project.

24

u/stking68 2d ago

built? nah vibe coded

-30

u/Potential_Thing1766 2d ago

no

12

u/nickymoo 1d ago

Then it looks like Claude hacked your repo as he’s attributed to a lot of it…

-3

u/Dookie_boy 2d ago

This could be very useful.

-2

u/AssMan2025 2d ago

I just tried to clone a running dietpi and it was difficult for a lack of tools DD made a mess this might have been handy

2

u/fridge_ways 1d ago

I've never got that working either

-16

u/Potential_Thing1766 2d ago

this works fine

-5

u/ajnozari 2d ago

sometimes you find something you didn’t even know you needed.