rpi-clone
rpi-clone copied to clipboard
A shell script to clone a booted disk.
I run rpi-clone to backup my OS drive. When my SD card starts showing errors, I swap out the failing SD and order a new one. Works great! Thanks for...
Noob to rpi-clone. Desperate to get off SD card; I've burnt through three in a year! I'm on a RPi 3B+ running _Raspbian GNU/Linux 10 (buster)_ (as reported by `cat...
Hi There I'm pretty new to all this so when the git clone command failed I googled and found git is required first on clean build. Suggest adding sudo apt-get...
Hi, what is the correct syntax to use rpi-clone in a crontab job (leaving the external SD card inserted in USB)? I am confused about options -u and -q
My crontab file in cron.daily used to say ``` /usr/local/sbin/rpi-clone -q -l mmcblk0 ``` However, failing sd cards can cause kernel errors and these block disk access, and after some...
This creates a temporary directory for src and dst mounts, rather than hardcoding `/mnt/clone` and `/mnt/clone-src`. This allows running the script twice in parallel, without conflicts. To prevent littering tons...
I noticed a few places in the code where `qprintf` is used to generate input for `fdisk`. IIUC, this means that if quiet mode is enabled, no fdisk commands will...
This is the perfect solution. Just today I screwed up my RPI. Changed SD cards Restart Now creating new clone. Thanks!
Hi. Great simple tool.. I am using it with armbian but in order to make the destination bootable i have to manually edit armbianEnv.txt and fstab to use the new...
Pi4 - I have successully made an SD of the new Raspbian that works both as SD and USB for USB boot and I've used rpi-clone to make a copy...