[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] Merging two images from the same recovery....
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-ddrescue] Merging two images from the same recovery.... |
Date: |
Mon, 19 Dec 2011 18:12:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Mike,
Dependable-Mike wrote:
So now I have two partial images of the drive that mostly don't overlap...
and two matching log files to go with them that define the good areas and
slow areas skipped.
The best way of merging two images is using the "-m, --domain-logfile"
option. It restricts the rescue domain to the blocks marked as finished
in the given logfile, so it will copy to the target image only what has
been already rescued in the source image.
If you issued the commads:
cd dir1
ddrescue -n -a<something> /dev/hda image logfile
and then
cd dir2
ddrescue -n -a<something> /dev/hda image logfile
you can merge the images by typing:
cd dir1
ddrescue -m dir2/logfile dir2/image image logfile
This creates the files dir1/logfile dir1/image with all the data
currently rescued. Then you can continue the rescue for example like this:
cd dir1
ddrescue -n -a<something> /dev/hda image logfile
ddrescue -d r1 /dev/hda image logfile
PS the new features of RC1 are great and are working as expected for me with
no problems. The only problems I'm facing are operator induced! ;O)
Thanks for the feedback.
Antonio.