09-17-2010 12:41 PM
I need assistance with excluding the following directory and folder from an OpenVMS backup: $1$DGA200:[USERS.YINK]. Currently I have the following selection in the policy for backup: $1$dga200:[000000...]/IGNORE=(NOBACKUP,INTERLOCK).
Solved! Go to Solution.
10-06-2010 08:41 AM
This is what worked:
Make reference to a exclude file in the clients policy backup selections
and have the exclude file on the client populated with exclusions.
policy backup selections
$1$dga200:[000000...]*.*;*/exclude=@NBU$DIR:exclude.lis/ignore=(interlock,nobackup)
on client cub, make file NBU$DIR:exclude.lis
and put in it $1$dga200:[users.yink...]*.*;*
09-17-2010 01:32 PM
Do you have the OpenVMS admin guide?
You can download the pdf for your version here: ftp://ftp.emea.veritas.com/pub/support/Products/NetBackup_OpenVMS/
I have just downloaded NB_VMS_6.5_PDF.zip
p. 54 explains how to exclude under "The Backup /EXCLUDE qualifier" heading...
09-17-2010 02:05 PM
I have the OpenVMS admin guide and followed the instructions but it did not exclude that directory. Here is the line I have in backup selections: $1$dga200:[000000...]/IGNORE=(NOBACKUP,INTERLOCK) /EXCLUDE=$1$dga200:[USERS.YINK]
09-17-2010 10:18 PM
I am no OpenVMS expert ... All I can suggest is that you remove the space before /EXCLUDE.
If I look at the examples on p.8, there are no spaces.
Also, looking at the same examples e.g:
DKB100:/EXCLUDE=([ABC...]*.*;*,[XYZ...]*.*;*)
try this:
$1$dga200:[000000...]/IGNORE=(NOBACKUP,INTERLOCK)/EXCLUDE=[USERS.YINK]
09-19-2010 05:33 PM
If you change the switch to include a wildcard file specifier /EXCLUDE=[USERS.YINK]*.*;* this should work as expected. If not you've found a bug.
Also a word of warning about INGORE=INTERLOCK from the online help:
BACKUP
09-21-2010 11:12 AM
The syntax is actually the same as what you would use for VMSbackup.
Sign on to a VMS sytem and enter:
$ HELP BACKUP/EXCLUDE
I've been using the VMS client for over 7 years (and VMS for over 28 years) and the NetBackup client has been working fine although I don't think I've used the EXCLUDE qualifier yet.
09-21-2010 02:29 PM
Thank you Marianne, Brodders and Ed I am trying the backup again with the changes.
10-06-2010 08:41 AM
This is what worked:
Make reference to a exclude file in the clients policy backup selections
and have the exclude file on the client populated with exclusions.
policy backup selections
$1$dga200:[000000...]*.*;*/exclude=@NBU$DIR:exclude.lis/ignore=(interlock,nobackup)
on client cub, make file NBU$DIR:exclude.lis
and put in it $1$dga200:[users.yink...]*.*;*