I have created a booted microSD card’s clone and saved the cloned image on Windows Desktop through LAN using following procedure:
(1) On Windows computer, (a) created a folder
rpi-clone to hold the cloned img files, (b) enabled Network Sharing, and ( c) granted sharing permission to folder
(2) On RPi, created a folder
/home/pi/Windows-Share and mounted on it Windows shared folder
Mounted Windows folder
rpi-clone to RPi folder /home/pi/Windows-Share
## IP address of Windows PC = 192.168.0.10 ## User name of Windows PC = abcd ## Shared folder on Windows PC = rpi-clone ## Mount-point folder on RPi = /home/pi/Windows-Share pi@raspberrypi:~ $ sudo mount.cifs //192.168.0.10/rpi-clone /home/pi/Windows-Share -o user=abcd Password for abcd@//192.168.0.10/rpi-clone: ********
For items (1) and (2) above, see detailed instructions here:
(3) Installed & configured raspiBackup to:
(a) Save cloned image in folder
(b) Use dd
( c) Use compression
curl -sLO https://www.linux-tips-and-tricks.de/raspiBackupInstallUI.sh sudo bash ./raspiBackupInstallUI.sh
For items (3) above, see detailed instructions here:
(4) Started raspiBackup
pi@raspberrypi:~ $ sudo raspiBackup.sh -a : -o : -m detailed --- RBK0009I: raspberrypi: raspiBackup.sh V0.6.5.1 (a056338) started at Sat 04 Jul 2020 08:17:59 PM EDT. --- RBK0128I: Using logfile /home/pi/Windows-Share/raspberrypi/raspberrypi-ddz-backup-20200704-201759/raspiBackup.log. --- RBK0116I: Using config file /usr/local/etc/raspiBackup.conf. --- RBK0151I: Using backuppath /home/pi/Windows-Share. !!! RBK0157W: No services to stop. --- RBK0081I: Creating backup of type ddz in /home/pi/Windows-Share/raspberrypi/raspberrypi-ddz-backup-20200704-201759. --- RBK0085I: Backup of type ddz started. Please be patient.
7580+0 records in 7580+0 records out 7948206080 bytes (7.9 GB, 7.4 GiB) copied, 702.271 s, 11.3 MB/s --- RBK0078I: Backup time: 00:11:43. !!! RBK0156W: No services to start. --- RBK0159I: 3 backups kept for ddz backup type. --- RBK0205I: Deleting oldest backup in /home/pi/Windows-Share/raspberrypi. This may take some time. Please be patient. --- RBK0033I: Please wait until cleanup has finished. --- RBK0049I: Messages saved in /home/pi/Windows-Share/raspberrypi/raspberrypi-ddz-backup-20200704-201759/raspiBackup.msg. --- RBK0026I: Debug logfile saved in /home/pi/Windows-Share/raspberrypi/raspberrypi-ddz-backup-20200704-201759/raspiBackup.log. --- RBK0010I: raspberrypi: raspiBackup.sh V0.6.5.1 (a056338) stopped at Sat 04 Jul 2020 08:29:48 PM EDT with rc 0. --- RBK0017I: Backup finished successfully.
Cloned image saved on Windows PC
(5) Burned cloned image to a spare microSD card, slipped it in RPi, and booted. Works just like original.