Results 1 to 2 of 2
-
06-05-2008, 02:47 PM #1
Include / Exclude statement variables
Is there anyway in an Include / Exclude statement to create a variable for the date?
For example I have a directory that changes name based on the current date /etc/logs/2008/06/05 and I want to exclude the current day folder and only backup the older files.
So what I would want is something to the effect of: Exclude.backup "/etc/logs/{get year}/{get month}/{get day}"
-
06-05-2008, 03:59 PM #2
You could but you would have to script it so it is appended to the inclexcl file before the backups run. So make sure you use an inclexcl file instead of the statements being part of the dsm.sys and use a preschedule command to find the previous statement and remove it, then append that exclude to the inclexcl file. It might be easier to keep a copy of the inclexcl file without the specified statement and daily overwrite the inclexcl file and append that days Exclude.backup
Files:
-------------
inclexcl.clean <-without Exclude.backup
inclexcl.list <-file with Exclude appended and used by TSM for backups
Similar Threads
-
Sql Include Statement
By mark.swanston in forum TDP/Application Layer BackupReplies: 5Last Post: 03-20-2008, 10:14 AM -
Bypass Include/exclude statement
By dmdmbj in forum TDP/Application Layer BackupReplies: 1Last Post: 02-15-2006, 10:16 AM -
Include Exclude Statement
By alyeska in forum Backup / Archive DiscussionReplies: 2Last Post: 03-19-2004, 11:53 AM -
exclude\include statement
By rpask in forum Backup / Archive DiscussionReplies: 4Last Post: 10-21-2003, 07:26 AM -
dsm.sys include/exclude statement
By henrychen in forum Backup / Archive DiscussionReplies: 1Last Post: 10-20-2003, 09:52 PM


Reply With Quote
