« Return to Thread: Merging two images from the same recovery....

Re: Merging two images from the same recovery....

by Antonio Diaz Diaz :: Rate this Message:

| View in Thread

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.

_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

 « Return to Thread: Merging two images from the same recovery....