Veritas-bu

[Veritas-bu] RE: include_list and exclude_list

2004-12-23 05:30:20
Subject: [Veritas-bu] RE: include_list and exclude_list
From: dave.markham AT fjserv DOT net (Dave Markham)
Date: Thu, 23 Dec 2004 10:30:20 +0000
Peter DrakeUnderkoffler wrote:

> Kirsch, Mathew (Matt) wrote:
>
>> I appreciate the assistance, but I'm not sure you understand what's 
>> going
>> on:
>>
>> Directories named "core", and any directory structure below core (i.e.
>> /blah/core/, /blah/core/a/, /blah/core/b/) are being backed up just 
>> fine.
>> The problem is, FILES under the core directory (i.e. 
>> /blah/core/java.txt,
>> /blah/core/a/foo.sh, /blah/core/b/backup.class) are NOT being backed up.
>>
>> What I need is the magic wildcard string that will pick up the files.
>>
>> I've tried:
>>
>> /*/oracle/*/core
>> /*/oracle/*/core/*
>>
>> Both separately and together. The files are still not being backed up!
>>
>> -----Original Message-----
>> From: Clark, Jeanne L [ITS] [mailto:Jeanne.L.Clark AT mail.sprint DOT com]
>> Sent: Wednesday, December 22, 2004 1:50 PM
>> To: Kirsch, Mathew (Matt)
>> Subject: RE: include_list and exclude_list
>>
>>
>> We maintain include and exclude list all the time.
>>
>> All you need to do is create a policy that you will have the Backup
>> Selections listed with what every you want i.e. /*/oracle/*core/*
>> something like that.  Then on the servers you will have the
>> include_list.POLICY_NAME  This way you can add as may servers as you
>> wish and be able to reuse the same policy.
>>
>> Does this help?
>>
>> Jeanne
>>
>> _______________________________________________
>> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>
>>  
>>
> Don't you need the trailing slash "/" for directories, such as:
>
> /*/oracle/*/core/
>
> Thanks
> Peter
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
What would probably be better in your case is not to have core on the 
exclude list.
Then have a separate cron job on each server to find all core files and 
remove them say once a day prior to backup. This would assume none of 
you oracle files are called core themselves.

find . -type f -name core | xargs rm

A thought?

Dave

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