8.24.2014

Raspberry Pi SD backup and restore

01. Start up  your terminal tool on computer.

02. Backup 備份:BackupSDImg (MaxOS)
    02-1。$df -h ( look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type)
    02-2。$diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as)
    02-3。$sudo dd if=/dev/disk1 of=/develope/rpi_backupImg/wheezy-raspbian-Backup.img bs=4m


03. Restore 還原:WritingSDImg (MaxOS) 
    03-1。$diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as)
    03-2。$sudo dd if=/develope/rpi_backupImg/wheezy-raspbian-Backup.img of=/dev/disk1 bs=4m




【Other】
$Ctrl+t (check backup process status查看備份進度)
$diskutil eject /dev/rdisk1 (Once the backup is complete execute)

No comments:

Post a Comment