Good call, its another way of doing it.

The exclude, include way seems to have worked, so if there are
performance hits ill look at doing it the script way.

Thanks

[EMAIL PROTECTED] wrote:
> There will definitely be a performance hit.  All wildcards are expensive but 
> that's the price you pay for easy-to-manage.
>
> How about finding all files with these extensions, writing them to a file, 
> then backing-up the file-of-files with bpbackup and the "-f" option?
>
> dir m:\*.trk n:\*.bak m:\*.trk n:\*.bak /s /b >/fileoffiles.txt
>
> bpbackup -f /fileoffiles.txt -p <policy> -s <ubak_sched> -L /temp/logfile.txt
>
> That'd be efficient, anyway.
>
> -M
>
> (watch out for line-wrap above, my server does it without my permission)
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dave
> Markham
> Sent: Monday, March 13, 2006 8:46 AM
> To: WEAVER, Simon
> Cc: veritas-bu@mailman.eng.auburn.edu
> Subject: Re: [Veritas-bu] exclude, include query
>
>
> WEAVER, Simon wrote:
>   
>> Dave
>> Hmmmm sounds complicated, but looking at the SysAdmin guide, you may be best
>> to specify the drives that WANT to be backed up within your current policy
>> (or a new policy, depending on what your overall goal is).
>>
>> Now, reading this it sounds like you specify the file extension (ie: *.bat)
>> that need to be backed up, but EXCLUDE the root drive letters - which I
>> guess in your case maybe C:\, E:\
>>
>> Ok now im confused reading this :-(( But it sounds like it MAY work,
>> although being totally honest, never tried it!!
>>
>> I would suggest setting up a TEST POLICY and see if it works out perhaps?
>>
>> Simon Weaver 
>> Technical Support 
>> Windows Domain Administrator 
>>
>> EADS Astrium 
>> Tel: 02392-708598 
>>
>> Email: [EMAIL PROTECTED] 
>>
>>
>>
>> -----Original Message-----
>> From: Dave Markham [mailto:[EMAIL PROTECTED] 
>> Sent: 13 March 2006 13:40
>> To: veritas-bu@mailman.eng.auburn.edu
>> Subject: [Veritas-bu] exclude, include query
>>
>>
>> Guys im mailing on behalf of a colleague who works on the windows side of
>> the fence. He asked me this question about netbackup but i wasnt too sure on
>> how it would behave.
>>
>> He basically wants to backup *.trk and *.bak ( i think cant remember ) on a
>> couple few drives. Now he cant put m:\*.trk and m:\*.bak because that will
>> just backup those files in the root of m:\  right?
>>
>> He has ought about doing this :-  put in the policy file list *.trk and
>> *.bak hoping this will backup all instances no matter what directory or
>> mount point. Then in the exclude_list put ALL_LOCAL_DRIVES and in the
>> include_list put m:\ n:\
>>
>> Hes hoping this will backup *.trk anywhere under m:\ and n:\
>>
>> Has anyone any idea if this will work or if the include_list overrides the
>> policy file lists and everything under m:\ will be backed up?
>>
>> Cheers
>> Dave
>> _______________________________________________
>> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>
>> This email is for the intended addressee only.
>> If you have received it in error then you must not use, retain, disseminate 
>> or otherwise deal with it.
>> Please notify the sender by return email.
>> The views of the author may not necessarily constitute the views of EADS 
>> Astrium Limited.
>> Nothing in this email shall bind EADS Astrium Limited in any contract or 
>> obligation.
>>
>> EADS Astrium Limited, Registered in England and Wales No. 2449259
>> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, 
>> England
>>
>>   
>>     
> I think problem with putting m:\*.bak it will only backup files matching
> *.bak within the root of m: If i want m:\something\somethingelse\*.bak
> it wont be captured.
>
> Bit of strange request i know.
>
> It seems to have worked putting all_local_drives in and then excludeing
> *.* and including *.bak but i can think this will have a performance hit.
>
> The issue is we dont know what partitions have the *.bak files on it as
> they are san attached volumes and the DB guys could put them anywhere.
> Need a policy to to try and capture them without specifying too much.
>
> Dave
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>   

_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to