backup raspberry pi sd card mac code example Example: how to backup raspberry pi sd card sudo dd bs=4M if=/dev/sdb of=raspbian.img