In edge computing we use Raspberry Pi, and the operating system is installed in SD. It is very likely that the SD card is damaged due to overheating or other factors, and the SD card must be replaced quickly and then reconnected. At this time we need to back up an SD card.

 brew install coreutils
 diskutil list
 sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M
 sudo diskutil unmountDisk /dev/disk4
 diskutil list
 1014  sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M

Reference:
https://blog.jaimyn.dev/the-fastest-way-to-clone-sd-card-macos/

By Ray Lee (System Analyst)

iDempeire ERP Contributor, 經濟部中小企業處財務管理顧問 李寶瑞

Leave a Reply

Your email address will not be published. Required fields are marked *