Hi
Every day, a few files are skipped on one of our nodes because they are in use. I’m not allowed to apply a blanket exclude to cover all such files but, as the files contain the current date, it occurs to me that what I could do (if possible) is apply some form of exclude that uses a variable re. the current date.
Here’s a typical example from the DSMERROR.LOG:
26-04-2012 01:27:49 ANS1228E Sending of object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.log' failed
26-04-2012 01:27:49 ANS4037E Object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.log' changed during processing. Object skipped.
26-04-2012 01:27:54 ANS1228E Sending of object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.loginitial_ptr' failed
26-04-2012 01:27:54 ANS4037E Object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.loginitial_ptr' changed during processing. Object skipped.
26-04-2012 01:28:06 ANS1802E Incremental backup of '\\cpfwm\d$' finished with 2 failure
So, ideally, what I would like to do is add EXCLUDE statements such as follow:
EXCLUDE “D:\FWlogs\<CURRENT_DATE>*.log”
EXCLUDE “D:\FWlogs\<CURRENT_DATE>*.loginitial_ptr”
Does anyone know if it is possibible to put such a thing as a variable based on date into an EXCLUDE statement and, if it is, what the correct syntax is?
The advantages of doing this would, as you’ve probably already worked out, be that:
- This node wouldn’t get flagged up every day as having an issue.
- The files excluded one day (because they contain the current date) would be backed up the next day (because they no longer contain the current date). This would leave me no worse off because the files containing the current date don’t get backed up anyway.
Any suggestions please?
Every day, a few files are skipped on one of our nodes because they are in use. I’m not allowed to apply a blanket exclude to cover all such files but, as the files contain the current date, it occurs to me that what I could do (if possible) is apply some form of exclude that uses a variable re. the current date.
Here’s a typical example from the DSMERROR.LOG:
26-04-2012 01:27:49 ANS1228E Sending of object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.log' failed
26-04-2012 01:27:49 ANS4037E Object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.log' changed during processing. Object skipped.
26-04-2012 01:27:54 ANS1228E Sending of object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.loginitial_ptr' failed
26-04-2012 01:27:54 ANS4037E Object '\\cpfwm\d$\FWlogs\2012-04-26_000116_31.loginitial_ptr' changed during processing. Object skipped.
26-04-2012 01:28:06 ANS1802E Incremental backup of '\\cpfwm\d$' finished with 2 failure
So, ideally, what I would like to do is add EXCLUDE statements such as follow:
EXCLUDE “D:\FWlogs\<CURRENT_DATE>*.log”
EXCLUDE “D:\FWlogs\<CURRENT_DATE>*.loginitial_ptr”
Does anyone know if it is possibible to put such a thing as a variable based on date into an EXCLUDE statement and, if it is, what the correct syntax is?
The advantages of doing this would, as you’ve probably already worked out, be that:
- This node wouldn’t get flagged up every day as having an issue.
- The files excluded one day (because they contain the current date) would be backed up the next day (because they no longer contain the current date). This would leave me no worse off because the files containing the current date don’t get backed up anyway.
Any suggestions please?