From: Nikola Milutinovic <milutinn@EUnet.yu>
Subject: Re: tar -C command on DEC Unix 4.0
Date: 1998/06/26 [thread overview]
Message-ID: <3593B961.41D6E142@EUnet.yu> (raw)
In-Reply-To: 6mvasc$ldg$1@nnrp1.dejanews.com
chl_william@hotmail.com wrote:
>
> Hi,
>
> I wonder if someone can help me to restore my archive file created by
> the following tar command on DEC Unix 4.0b
>
> tar cpvf /dev/rmt1h -C /u01/data . - /u02/data .
>
> When I use tar command to restore the files, ALL the files were restored
> under my current directory which resulted in a disk full situation i.e.
> ALL the directory structure information were gone.
With this you actually have no absolute path info. And unless tar stores
the information that it changed its CWD (-C option), in the archive, on
that very spot, you're stuck.
Try listing the archive with "tar t", see if there is a mark (I doubt
it). Try manually creating file list of the first "save set" and
extracting just those files.
What can I say, nice mess. Like you did "cp -r /u02/data/* /u01/data ;
tar /u01/data"
Good luck.
Nix.
next prev parent reply other threads:[~1998-06-26 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-26 4:00 tar -C command on DEC Unix 4.0 chl_william
1998-06-26 4:00 ` Nikola Milutinovic [this message]
1998-06-29 4:00 ` chl_william
1998-06-29 4:00 ` Rich Lafferty
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox