How to mount CloneZilla Image in OMV1.x to restore a single file

  • Description
    How to mount CloneZilla Image in OMV1.x to restore a single file


    Pre-Installation Steps
    Make sure the partclone package is installed.

    Code
    apt-get install partclone


    How-to
    Please Note: (This procedure uses a lot of space) The image you restore is as large as the hard drive which you have backed up.
    Locate your cloneZilla Images: (example cloneZilla Images)
    /media/<yourdrive>/img-openmediavault/sdg1.ext4-ptcl-img.gz.aa
    /media/<yourdrive>/img-openmediavault/sdg1.ext4-ptcl-img.gz.ab


    unzip them into an image:

    Code
    cat sdg1.ext4-ptcl-img.gz.a* | gzip -d -c > sdg1.img


    restore image using partclone:

    Code
    partclone.extfs -r -s sdg1.img -o sdg1-extfs.img --restore_raw_file


    create mountpoint:

    Code
    mkdir /mnt/image


    mount your image:

    Code
    mount -o loop sdg1-extfs.img /mnt/image


    Now all you have to do is navigate into

    Code
    cd /mnt/image


    if you are finished you can unmount your image

    Code
    unmount /mnt/image



    Questions / Problems / Discussions
    If you have any questions, feel free to create a a thread.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!