Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with exclude

Status
Not open for further replies.

TSch

Technical User
Jul 12, 2001
557
DE
Hi folks,

I got a problem with excluding certain files and directories from my TSM backup.

I have a job directory containing job logs as well as job definitions. Let's say the main directory is called

/system/work/

Here we have the job definitions lying directly under

/system/work/

as regular files.

For the job logs there's a subdirectory being created named after the job id. A few days after job completion the subdirectories are being deleted. So there's a constantly changing subdirectory structure within

/system/work/


Example:

/system/work/1283/job.log
/system/work/1284/job.log
/system/work/1285/job.log
/system/work/definition1.cmd
/system/work/definition2.cmd

Now what I'd like is to exclude the subdirectories and include the job definitions (Note: These can change as well !) but I don't know how because the subdirectories keep changing and if I exclude the whole /systen/work/ I won't get the job definitions backed up and those I can't include explicit because they too keep changing ...

Any ideas ?

Regards,
Thomas
 
why not take the other approach and just add an include for the definitions?

include /system/work/.../*.cmd
include /system/work/.../*.cmd
exclude /system/work/*

Y'know.. something like that...
 
Oh... Just to add to above.. the "..." should take care of the subdirectories changing.
 
FYI: When there are any changes made need to stop/restart the schedule daemon/service so that the new updates in the dsm.opt (Windows) / dsm.sys (Unix) are read.

Good Luck,
Sias
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top