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