Results 1 to 4 of 4

Thread: Can you suggest a tool for recovering a TARBALL?

  1. #1
    Join Date
    Feb 2006
    Location
    Cape Coral, Florida USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Red face Can you suggest a tool for recovering a TARBALL?

    Help! I have a 17G tarball spanning 5 DVDs and one of the DVDs is bad. Is there any hope?

    I recently backed up a system by spanning several DVDs with a giant tarball (splitting the tarball into 4.7G chunks) using:
    Code:
    $ sudo tar -cv -M --tape-length=4928307 --file=concord_home_7_18_08-1.tar /home/concord
    When prompted I would create the next 4.7G tarball by replying "n" (no) like this:

    Code:
    Prepare volume #2 for concord_home_7_18_08-1.tar and hit return: n concord_home_7_18_08-2.tar
    After I was done creating all the 4.7G sections of the giant tarball I copied each one to a separate DVD. I was planning to rejoin them all later by copying the files onto new destination and recombining them like this:

    Code:
    sudo tar -x -M --file=concord_home_7_18_08-1.tar largefile.tar
    
    Prepare volume #2 for concord_home_7_18_08-1.tar and hit return: n concord_home_7_18_08-2.tar
    
    Prepare volume #2 for concord_home_7_18_08-2.tar and hit return:
    I was planning to keep going until I got the completed "largefile.tar" then move it to the root "/" directory on the new destination drive and:

    Code:
    sudo tar xvf largefile.tar
    To extract the files. Simple, right? Now one of the DVDs is no good. Does that mean all the data is gone? Are there "tools" I can use to extract files from the other (good) sections of the tarball?

    Always, always, always check your backup BEFORE you wipe your drive, doh!

    Any help is apprecated.

  2. #2
    Join Date
    Aug 2006
    Beans
    282

    Re: Can you suggest a tool for recovering a TARBALL?

    You might be able to use the info here:

    http://www.linuxquestions.org/questi...ive...-326716/

    I'd try both by treating each file individually and also by cating them all together into one big lump and recovering that way.

  3. #3
    Join Date
    Feb 2006
    Location
    Cape Coral, Florida USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Can you suggest a tool for recovering a TARBALL?

    Quote Originally Posted by andrewc6l View Post
    You might be able to use the info here:

    http://www.linuxquestions.org/questi...ive...-326716/

    I'd try both by treating each file individually and also by cating them all together into one big lump and recovering that way.

    Using the link you provided (cpio) I was able to recover 3/5ths of my data, including pictures of my son as a child which are very important.

    Thanks andrewc6l!

  4. #4
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Can you suggest a tool for recovering a TARBALL?

    Always, always, always check your backup BEFORE you wipe your drive, doh!
    If you didn't reformat your hard drive yet you might be able to recover some more of your data by restoring the old partition table with TestDisk.

    Even if you did already make new file systems, there is an excellent chance you can still recover more of your lost files if you use PhotoRec.

    Ubuntu Rescue Remix has the best collection of software for data recovery.
    Knoppix, GParted Live CD, and System Rescue CD also have TestDisk and PhotoRec.
    Ubuntu user since 2004 (Warty Warthog)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •