Include and exclude processing
Information about file inclusions and file exclusion is presented.
Considerations
Data Protection for IBM® Domino® deals only with Domino databases and transaction log files if archival logging is in enabled on the Domino server. Other files that might exist on the server are not backed up by Data Protection for HCL Domino so they do not have to be excluded. If you want to limit the backups to a subset of the databases on your Domino server, the standard include and exclude syntax can be used.
Read the documentation about include and exclude processing for the base IBM Storage Protect backup-archive client as a thorough introduction to processing concepts. See the Examples in this section regarding Data Protection for HCL Domino.
Examples
Domino databases are stored by their relative names on the IBM Storage Protect server. As result, relative names must be used in include and exclude statements. The notes data directory should not be specified, and databases that are linked to the notes data directory by database or directory links must be referenced by the symbolic name. Do not use fully qualified physical file names.
.DATA extension. For
example, a backup of database mail6\user1.nsf would
result in the following two objects: - The relative name of the database:
mail6\user1.nsf - The relative name of the database with
.DATA:mail6\user1.nsf.DATA
mail6 except
for database user1.nsf, use the following statements:
EXCLUDE mail6\*
INCLUDE mail6\user1.nsf
INCLUDE mail6\user1.nsf.DATA
.DATA object
does not have to be excluded because the .DATA object
is not created unless the database is included.*.nsf in
the mail6 subdirectory to the DOMINO management
class, code the following statement: INCLUDE mail6\*.nsf* DOMINO
S######.TXN, the
"#" character represents a number. If you use a broad exclude statement,
make sure to include the transaction log files by coding a statement
as follows: INCLUDE S*.TXN
compressionyes by
using the client option, exclude.compression. You
must specify the .DATA object to exclude a database
from compression. For example, to exclude the database mail6\user1.nsf from
compression, enter: EXCLUDE.COMPRESSION mail6\user1.nsf.*
See IBM Storage Protect for Windows Backup-Archive Client Installation and User's Guide for
more information about the exclude.compression option.enableclientencryptkey=yes in
the Data Protection for HCL Domino options
file dsm.opt, located by default in the Data Protection for HCL Domino installation
directory..
In the same file, specify the databases that you want to encrypt by
adding an include statement with the include.encrypt option.
For example, to encrypt all data, use: include.encrypt *\...\*
To encrypt only
the Mydb.nsf database in the default directory, use:
include.encrypt Mydb.nsf
include.encrypt Mydb.nsf.DATA
or include.encrypt Mydb.nsf*
To
encrypt all databases in the mail65 directory, use:
include.encrypt mail65\...\*
Transparent
encryption is available on IBM Storage Protect server Version
5.3 (or later).exclude.dedup E:\myfiles\...\*
Include.dedup E:\myfiles\archive\*
db1.nsf regardless of where they display: EXCLUDE db1.nsf
help5_* in the help subdirectory:
EXCLUDE help\help5_*
mail6 directory: INCLUDE mail6\...\*
*.nsf in the mail subdirectory
to the MAILDB management class: INCLUDE mail\*.nsf* MAILDB
mail6 subdirectory from compression:
EXCLUDE.COMPRESSION mail6\...\*
EXCLUDE mail.box
EXCLUDE log.nsf
log.nsf database, but you can only
restore it to an alternate name.INCLUDE S*.TXN
Domino DB2
Include and exclude
statements can be specified for table space backups and for full DB2® database backups. The administrator
can use include/exclude statements to manage
the meta objects (created by Data Protection for HCL Domino)
and the data objects (created by DB2 API).
The management class assigned to meta objects is forced on the data
objects created by the DB2 API.
The include/exclude statements specification
for meta objects is based on the naming convention for the meta object
group leaders. To assign management classes to DB2NSF databases,
the user must use the IBM Storage Protect object
name of the full DB2 group leader
object, or the IBM Storage Protect object
name of the table space group leader object.
Domino DB2 example (full DB2 backup)
MGMTC1, on partition NODE000,
on the Domino 7 Server during
a full DB2 backup:INCLUDE \domino7.DOMDBS\NODE0000\FULL\DOMINO MGMTC1
MGMTC1, on
all partitions that reside on all available Domino servers during a full DB2 backup:INCLUDE \…\FULL\* MGMTC1
Domino DB2 example (table space backup)
GRP1:INCLUDE GRP1This statement assigns DB2 Group
GRP2 to
management class DB2GROUPS:INCLUDE GRP2 DB2GROUPSThis statement excludes all DB2 Groups in
CLASS1:EXCLUDE CLASS1\*This statement includes all DB2 Groups in
CLASS2:INCLUDE CLASS2\*This statement excludes DB2 Group
GRP1 in CLASS3:EXCLUDE CLASS3\GRP1