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 Open a Terminal in ubuntuTerminals are where you type in commands in linux. to open a terminal, press ALT+F2, then either type gnome-terminal or xterm for the classic termi… Read More
How to Install Firefox3.0a1 in UbuntuFirefox 3.0 is the next generation release of the award-winning Firefox web browser from Mozilla.This article describes how to install fiefox3.0a1 in … Read More
Get Atheros AR5007EG or AR242x wireless cards (may be other models) working in Ubuntu 8.10 (Intrepid Ibex)This tutorial will explain how to Atheros AR5007EG or AR242x wireless cards working in Ubuntu 8.10 (Intrepid Ibex).First you need to compile latest at… Read More
How to Copy & Paste in TerminalThere are two terminals in Ubuntu: the one you invoke with (Alt+F2) "xterm" and the one you invoke with (Alt+F2) "gnome-terminal". The gnome-terminal… Read More
Howto install Softwares on Ubuntu without Internet ConnectionWhen installing ubuntu, it's a must that you have an internet connection when installing softwares since the software packages are downloaded from ubu… Read More
0 comments:
Post a Comment