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:
How to Convert PDF files to HTML filesTranslates pdf documents into html format.Translates pdf files into HTML or XML formats, combined with png images. Supports encrypted pdf files.There … Read More
Install Flash Player 9 Update in UbuntuAdobe Flash Player is the standard for delivering high-impact, rich Web content. Designs, animation, and application user interfaces are deployed imme… Read More
Install LAMP Server in ubntu(with screenshots)Automatic LAMP (Linux, Apache, MySQL and PHP) In about 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP server up a… Read More
Install vmware tools in UbuntuIt is very important that you install VMware Tools in the guest operating system.With the VMware Tools SVGA driver installed, Workstation supports sig… Read More
How to change Screen resolution in UbuntuThis tutorial will explain how to change Screen resolution in Ubuntu and this might work in all ubuntu versions Procedure to follow 1) Go to System… Read More
0 comments:
Post a Comment