Amanda-Users

Re: amrestore question

2003-06-23 17:45:18
Subject: Re: amrestore question
From: Frank Smith <fsmith AT hoovers DOT com>
To: Jon Sippel <jon AT jonsippel DOT com>, Amanda List <amanda-users AT amanda DOT org>
Date: Mon, 23 Jun 2003 16:42:13 -0500

--On Monday, June 23, 2003 16:46:28 -0400 Jon Sippel <jon AT jonsippel DOT com> 
wrote:

> I've just finished setting up amanda here, and am making sure I know how to
> do full-volume restores with amrestore before "disaster" strikes and I
> _NEED_ to know.  That said, I'm running into a problem:  I have a level 0
> dump of a filesystem from one server, and am trying to restore it to a
> different server (same model and drive config/partitions as the original)  I
> am using amanda 2.4.4 with gnutar (and a SDLT160, if that matters) on
> Solaris8.  When I run:
> 
># rsh -n dcsunbackup.ncb.com /usr/local/sbin/amrestore -p /dev/rmt/0cn
> dclawson.ncb.com '\^/sybase\$' | tar t
> 
> from the client, all of the files returned are listed under numerical
> directories, for example:
> 
> 07674121412/./locales/us_english/mac/ctdrvlib.loc
> 07674121412/./locales/us_english/mac/ctlib.loc
> 07674121412/./locales/us_english/mac/dblib.loc
> 07674121412/./locales/us_english/mac/defncopy.loc
> 07674121412/./locales/us_english/mac/isql.loc
> 07674121412/./locales/us_english/mac/libdna.loc
> 07674121413/./locales/us_english/mac/libinsck.loc
> 07674121413/./locales/us_english/mac/libsdna.loc
> 07674121413/./locales/us_english/mac/libsri.loc
> 07674121413/./locales/us_english/mac/libtli.loc

Indexes with really_big_number directories usually indicate
a defective version of GNU tar ( < 1.13.19, I believe).
What does 'gtar --version' show  (substitute whatever path
to gnutar you compiled into Amanda)?

If that is the case, update your tar and force a full
backup as soon as possible.  If you need to restore a file
before that happens, all your files are there, just mapped
into meaningless numeric directory names.  I think someone
on the list had a script to help with the process, but I
assume there is still a lot of manual labor involved.

Frank

> 
> The disklist entry for this filesystem is as follows:
> dclawson.ncb.com        /sybase         user-tar
> 
> And the dumptype is straight from the amanda defaults:
> define dumptype root-tar {
>     global
>     program "GNUTAR"
>     comment "root partitions dumped with tar"
>     compress none
>     index
>     exclude list "/usr/local/lib/amanda/exclude.gtar"
>     priority low
> }
> 
> define dumptype user-tar {
>     root-tar
>     comment "user partitions dumped with tar"
>     priority medium
> }
> 
> The exclude file is currently empty.  So, where are all these directories
> coming from, and more importantly, how can I make them go away?
> 
> Thanks for your help,
> Jon Sippel



--
Frank Smith                                             fsmith AT hoovers DOT 
com
Systems Administrator                                  Voice: 512-374-4673
Hoover's Online                                          Fax: 512-374-4501

<Prev in Thread] Current Thread [Next in Thread>