[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar help



on Thu, Dec 07, 2000 at 10:33:05PM +0100, Thomas Wegner (thomas_wegner@gmx.net) wrote:
> Hallo Karsten! Am Mit, 06 Dez 2000 schrieb kmself@ix.netcom.com:
> 
> > > 2) forward the band to the second archive (mt -f /dev/nst0 fsf)
> > > 3) tar -xvf /dev/nst0 path/of/the/files/*
> >                         ^^^^^^^^^^^^^^^^^^^
> > 
> > This is your problem.
> > 
> > You're also not going to get a restore quite as you want it, I suspect.
> > 
> > First issue:  you need to supply a list of files to your restore
> > command, something like:
> > 
> >    tar xvf /dev/nst0 mypath/myfile1 mypath/myfile2 mypath/myfile3
> > 
> > You're essentially asking for files which don't exist -- there isn't a
> > file "path/of/the/files/*" -- with a literal '*' (tar doesn't do
> > wildcard expansion on its own archive).
> Thank you for yout tip. I'm surprised about the solution is a little bit
> complicated.  :-((

Not particularly, IMO, it's rational -- you have to think about how the
archive is constructed.  Tape's forte isn't its convenience, it's cost
and reliability.

If you want an easier-to-maintain set of archives, you might investigate
a dedicated backup tool such as dump.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Zelerate, Inc.                      http://www.zelerate.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org

Attachment: pgpmrbaVT8zTp.pgp
Description: PGP signature


Reply to: