Raspberry Piのバックアップ(Macでddコマンド使用)

Raspberry Piをシャットダウン。
MacにSDカードを刺してから、

[shell]
MacBookPro:~ user$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.8 GB disk1
1: Windows_FAT_32 boot 58.7 MB disk1s1
2: Linux 15.7 GB disk1s2
MacBookPro:~ user$ sudo dd bs=1m if=/dev/rdisk1 of=~/Desktop/Pi-backup-YYYYMMDD.img
[/shell]

でおっけー。

Back-up a Raspberry Pi SD card using a Mac
http://smittytone.wordpress.com/2013/09/06/back-up-a-raspberry-pi-sd-card-using-a-mac/

などを参照のこと。

[dciframe]http://rcm-fe.amazon-adsystem.com/e/cm?t=rutoruamazona-22&o=9&p=15&l=st1&mode=computers-jp&search=Raspberry Pi&fc1=000000<1=_blank&lc1=3366FF&bg1=FFFFFF&f=ifr,468,240,0,auto,border:0px solid blue;align:left;[/dciframe]

Author: rutoru

Find joy in everyday life. Be tolerant of others.

One thought on “Raspberry Piのバックアップ(Macでddコマンド使用)”

Leave a Reply

Your email address will not be published. Required fields are marked *