Home »
» Howto Backup and Restore SD card image with tar and dd
Howto Backup and Restore SD card image with tar and dd
I normally backup my embedded system SD card image using dd and the output size will be 969M. To reduce the size, I'm using tar and gzip to compress the image file. Here is the command:
# dd if=/dev/sdd of=sd1gb.dd
$ tar zcvf sd1gb.dd.tar.gz
This way I will have the image in tar.gz file which is only 218MB. And delete the dd file.
However, to use the tar.gz, we don't have to extract the file because we can only use a single command like this:
# tar Ozxf sd1gb.dd.tar.gz | dd of=/dev/sdd
That's all for today.
Related Posts:
Howto Connect Your iPod Touch To an Ad-hoc Wireless NetworkIf you are an iPod touch owner you will definitely love to be hooked to a Wi-fi connection all the time. Unless and until you are connected wirelessly… Read More
Install Linksys WUSB54GC wireless In Ubuntu/Kubuntu 7.04/7.10This script that can do this very easily. It uses ndiswrapper to install for 32bit or 64bt Ubuntu or Kubuntu. You can get the script from below Fresh… Read More
Install Freecom Musicpal in Ubuntu FeistyIntroduction Freecom just brought a brand new product to the Dutch market called the “Musicpal“. On the box it says it’s supported for Windows and Mac… Read More
setup Second IP address or Virtual IP address to your Networkcard in ubuntuIf you are a Network Administrator some time you need to assign more than ONE ip address (second ipaddress) to your network card of Ubuntu machine. Fo… Read More
iPhone Tethering on Ubuntu 9.10 (Karmic)If you’re like me you have an iPhone and a portable computer running Ubuntu and you would like to have mobile internet without paying for an extra dat… Read More
0 comments:
Post a Comment