Tuesday, April 26, 2016

double DD

Backing up your files can be a pain in the .. neck .. but you would be gutted if you lost any precious data! So here is a simple method to duplicate your Ultrasatan's SD card which is not only effective but takes very little effort. The requirements are a Mac with an SD slot and a basic knowledge of the Terminal program.


 - IDENTIFICATION -

Firstly, eject your SD card from the Ultrasatan and slide its "lock" switch to write-protect it. Insert it into your Mac (if a warning appears then click on the "ignore" button). Load up Terminal.app (within Utilities folder) and type in this command:
diskutil list
This will display information to help identify the SD card - look for the capacity of your card. Mine is 8GB as you can see in the clipping, below. Thus my card is "/dev/disk1"
/dev/disk1 (internal, physical):
 #:     TYPE     NAME     SIZE     IDENTIFIER
 0:     *                 8.0 GB   disk1

If you would like to verify this information, type in this command :
diskutil info /dev/disk1
Within the output, you will see a line confirming that this is indeed our SD Card :
Device / Media Name:      SD Card Reader


 - BACK IT UP -

Type this command to backup the SD card (enter your password when prompted)
sudo dd if=/dev/disk1 of=~/Desktop/st-backup.img
Leave it to complete and after a few minutes you should have a file on your desktop called "st-backup". Now eject the card from the Apple Mac and reinsert it into your Ultrasatan - not forgetting to slide off the lock switch! I recommend zipping your newly created backup file and then storing it somewhere safe, like iCloud or Dropbox.


 - RESTORES -

Perhaps you have a spare SD card idly doing nothing? So long as it's the same capacity as the first, we can easily restore our backup file onto this using the command :
sudo dd if=~/Desktop/st-backup.img of=/dev/disk1

 - AND FINALLY -

Of course, there are numerous different methods to secure your data and here is just one. It's the backup method I personally prefer because the dd command is simple and powerful. I hope this is of some use to Mac & Linux users, sorry but I wouldn't know about Windows. Any questions then just gimme a shout and I'll be happy to help.

No comments:

Post a Comment