Hello All,
I created an IMG file of my Freebsd7.232bit Server a few months ago using a command very similar to
I do not remember the exact syntax I used. This was from a 500Gig hard drive. Anyhow it created an img file that is about 15gigs in size backup.img.gz.
Now I am trying to restore this image inside a Freebsd VM 8.1 64bit which is running under virtual box. I have mounted a 1tb external hard drive to the VM. I have tried many different ways of unzipping the img file or a command similar to this:
Anyhow, no matter what I do I keep on getting pretty much the same error being this:
I am starting to think maybe the file is corrupt?
So I am trying to learn more about this subject but my primary reasons for doing this is I have some files in this img.gz file that I am desperately trying to get to. I am hoping someone could give me some insight into this topic or maybe tell me I am doing something fundamentally wrong since I do not know much about this topic.
Thanks,
D
I created an IMG file of my Freebsd7.232bit Server a few months ago using a command very similar to
Code:
dd if=/dev/sdX bs=64k conv=noerror,sync | pv | gzip -c -9 > sdX.img.gz
Now I am trying to restore this image inside a Freebsd VM 8.1 64bit which is running under virtual box. I have mounted a 1tb external hard drive to the VM. I have tried many different ways of unzipping the img file or a command similar to this:
Code:
gunzip -c sdX.img.gz | pv | dd of=/dev/sdX conv=sync,noerror bs=64K
Anyhow, no matter what I do I keep on getting pretty much the same error being this:
Code:
gunzip: data stream error
gunzip backup.img.gz: uncompress failed
So I am trying to learn more about this subject but my primary reasons for doing this is I have some files in this img.gz file that I am desperately trying to get to. I am hoping someone could give me some insight into this topic or maybe tell me I am doing something fundamentally wrong since I do not know much about this topic.
Thanks,
D