![]() ![]() If you give the parameter “conv=noerror” then it will continue to copy if there are read errors. If there are any errors, the above command will fail.So the exact copy of /dev/sda will be available in /dev/sdb. “if” represents inputfile, and “of” represents output file. ![]() In this dd command example, the UNIX device name of the source hard disk is /dev/hda, and device name of the target hard disk is /dev/hdb. To backup an entire copy of a hard disk to another hard disk connected to the same system, execute the dd command as shown below. Warning: While using dd command, if you are not careful, and if you don’t know what you are doing, you will lose your data! Example 1. ![]() dd is a powerful UNIX utility, which is used by the Linux kernel makefiles to make boot images. This article provides 6 practical examples on using dd command to backup the Linux system. There are several ways to backup a Linux system, including rsync and rsnapshot that we discussed a while back. I’ve seen cases where sysadmins learned this in the hard way. At the very least, critical data loss will have a financial impact on companies of all sizes. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |