YMMV

* your mileage may vary

Friday, 30 January 2015

Beaglebone Black (BBB) Backup Image of SD card using DD

Steps to follow to make a backup of the SD drive using DD:

Use at own risk - caution.

boot BBB without the SD card in.
insert SD card.

assume backup to a target server to store backup

  • dd if=/dev/mmcblk1 | ssh user@targetserver 'dd of=sd-backup.img'

To restore a local drive from the image on the server, reverse the command:

  • ssh user@targetserver 'dd if=sd-backup.img' | dd of=/dev/mmcblk1

No comments:

Post a Comment