Raspberry Pi SD Cloning: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


== Backup ==
== Backup ==
  mount
  HeiMac:~ root# df -h | grep /Volumes
/dev/disk3s1    56Mi  19Mi  37Mi    34%    /Volumes/Untitled
HeiMac:~ root#


  umount /dev/diskXsX
  HeiMac:~ root# umount /Volumes/Untitled


  dd if=/dev/diskXsX of=/Desktop/piBackup.img bs=1M
  HeiMac:~ root# dd if=/dev/disk3s1 of=/Users/heiko/Desktop/piBackup.img bs=1m


== Restore ==
== Restore ==

Revision as of 09:30, 20 July 2013

This article is about backupping and restoring the SD card of a Pi.

Backup

HeiMac:~ root# df -h | grep /Volumes
/dev/disk3s1    56Mi   19Mi   37Mi    34%    /Volumes/Untitled
HeiMac:~ root# 
HeiMac:~ root# umount /Volumes/Untitled 
HeiMac:~ root# dd if=/dev/disk3s1 of=/Users/heiko/Desktop/piBackup.img bs=1m

Restore

dd if=/Desktop/piBackup.img bs=1M of=/dev/diskXsX