I have a large Clonezilla image of a CentOS server that had a 500GB drive partitioned into boot, OS, and data partitions.
I would like to mount the backup image so I can extract some files as I no longer have suitable hardware or space for a VM to restore it to.
In the main directory of the backup, I have the following gzip'd files:
# ls -lh *gz* -rwxrwxrwx 1 root root 13M Sep 19 11:30 sda1.ext3-ptcl-img.gz.aa -rwxrwxrwx 1 root root 2.0G Sep 19 11:40 VolGroup00-LogVol00.ext3-ptcl-img.gz.aa -rwxrwxrwx 1 root root 2.0G Sep 19 11:44 VolGroup00-LogVol00.ext3-ptcl-img.gz.ab -rwxrwxrwx 1 root root 2.0G Sep 19 11:46 VolGroup00-LogVol00.ext3-ptcl-img.gz.ac -rwxrwxrwx 1 root root 1.1G Sep 19 11:49 VolGroup00-LogVol00.ext3-ptcl-img.gz.aad
According to this blog post I should combine the files into one gzip file using:
cat sda1.ext4-ptcl-img.gz.a* | gzip -d -c > sda1.img
Are all the above files the ones I should combine, or is sda1 unecessary? Presumably as they are clones with partclone in ext3 format the following command should work too?
partclone.extfs -r -s sda1.img -o sda1-extfs.img --restore_raw_file