Resuming tar restore

From: Filipe Litaiff (filipe_litaiff@optiglobe.com.br)
Date: Thu Apr 15 2004 - 14:19:43 EDT


Hi Forumers,

We were restoring a very big tar archive from tape when something broke the
command and the restore was interrupted.

If we restart the tar we4ll take too long to restore files we already have
extracted.

We know where the tar was broken. What we want to figure out a way to resume
the extraction, from given file to the end of the archive.

Since restoring it from the beggining is not a good option, and the tar man
page doesn4t help much, what could we do?

We have a list of the remaining files that are still on the archive. Would it
help?

The tar man page states something that might help, but I think it4ll have
lousy restore times since it runs tar twice:

"Filename substitution wildcards cannot be used for extracting files from
the archive. Rather, use a command of the form:

     tar xvf ... /dev/rmt/0 `tar tf ... /dev/rmt/0 | \
          grep 'pattern' `
"

Any help would be appreciated.

Thanks in advance,

Filipe.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:28 EDT