Amanda-Users

Re: amrestore question

2003-06-23 22:33:19
Subject: Re: amrestore question
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: Frank Smith <fsmith AT hoovers DOT com>, Jon Sippel <jon AT jonsippel DOT com>, Amanda List <amanda-users AT amanda DOT org>
Date: Mon, 23 Jun 2003 22:25:27 -0400
On Monday 23 June 2003 17:42, Frank Smith wrote:
>--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).

No, AFAIK that one is innocent, but the bare 1.13 sure is guilty.

In any event, he should get tar-1.13-25.tar.gz from alpha.gnu.org.

>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

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.


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