Backing up index files

2002-03-14 Thread Anthony Valentine

Hello everybody.

Each day that Amanda runs, I get a message similar to the following:

/-- sbs/usr lev 1 STRANGE
sendbackup: start [sbs:/usr level 1]
sendbackup: info BACKUP=/usr/linux/bin/gtar
sendbackup: info RECOVER_CMD=/usr/linux/bin/gtar -f... -
sendbackup: info end
? gtar:
./local/etc/amanda/Gemini/index/sbsdp/_gemini_disk3_archive/20020313_1.gz.tm
p: Warning: Cannot stat: No such file or directory
| Total bytes written: 37652480 (36MB, 836kB/s)
sendbackup: size 36770
sendbackup: end
\

This looks to me to be a temporary index file that has been removed after
tar started.  

Is this a problem?  I wouldn't think so, but I'd like to make sure.

If it isn't a problem, is there a way to prevent it?  Should I not be
backing up my indexes?  If I should, am I doing it wrong?

Thanks for you help!

Anthony Valentine




Re: Backing up index files

2002-03-14 Thread John R. Jackson

This looks to me to be a temporary index file that has been removed after
tar started.  

Yup.

Is this a problem?  ...

Nope.

If it isn't a problem, is there a way to prevent it?  ...

You should be able to give GNU tar an exclusion pattern.  I **think**
the following would do it:

  exclude ./local/etc/amanda/Gemini/index/*.tmp

but GNU tar exclusion patterns give me a headache and you should test
this thoroughly.

Should I not be backing up my indexes?  ...

I certainly do (but I use dump and don't see the problem you do).

Anthony Valentine

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Backing up index files

2002-03-14 Thread Jean-Francois Malouin

* John R. Jackson ([EMAIL PROTECTED]) [20020314 23:15] thus spake:
 This looks to me to be a temporary index file that has been removed after
 tar started.  
 
 Yup.
 
 Is this a problem?  ...
 
 Nope.
 
 If it isn't a problem, is there a way to prevent it?  ...
 
 You should be able to give GNU tar an exclusion pattern.  I **think**
 the following would do it:
 
   exclude ./local/etc/amanda/Gemini/index/*.tmp

I'd use something like (actually I think you gave me the hint on this
one a while ago!):

exclude ./local/etc/amanda/Gemini/index/*/*/*.tmp
 ^ ^
 | |
 | disk/device
 hostname

but you're right, gnutar exclude lists are a pain in the butt!

 
 but GNU tar exclusion patterns give me a headache and you should test
 this thoroughly.
 
 Should I not be backing up my indexes?  ...
 
 I certainly do (but I use dump and don't see the problem you do).
 
 Anthony Valentine
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

jf
-- 
Dreams and belief have gone
Time, life itself goes on