|How can I restore those *-ptcl-img.* images into a file manually ?|
|Say if your image is /home/partimag/YOURIMAGE/, and the image is /home/partimag/YOURIMAGE/hda2.ntfs-ptcl-img.gz.aa, hda2.ntfs-ptcl-img.gz.ab..., and you want to restore the image to a file hda2.img which you can mount later.|
Before you do it, make sure the disk space is big enough for you to store this image file "hda2.img".
Now you can run:
to see it's gzip, bzip or lzop image. Say it's gzip, then you can run
(For partclone newer than version 0.1.1-3, partclone.restore was improved so that you do not have to touch hda2.img first)
- cd /home/partimag/YOURIMAGE/
- touch hda2.img
- cat dir/hda2.ntfs-ptcl-img.gz.* | gzip -d -c | partclone.restore -C -s - -o hda2.img
Now you can mount the file hda2.img by:
mount -o loop hda2.img /mnt
and all the files are in the dir /mnt/.