Domdsmc query DB2rollforward
How to use the domdsmc query db2rollforward command is described.
Purpose
Domdsmc query db2rollforward lists the DB2 database rollforward status.
>>-DOMDSMC--Query -DB2ROLLforward------------------------------->
>--+-------------------------------+---------------------------->
| .-domdsm.cfg--. |
'-/CONFIGfile=--+-cfgfilename-+-'
>--+----------------------------+--+--------------------+------><
| .-domdsm.log--. | | .-60-. |
'-/LOGFile=--+-logfilename-+-' '-/LOGPRUne=--+-n--+-'
'-No-'
Parameters
- /CONFIGfile =cfgfilename
- Specifies the name of the Data Protection for HCL Domino preferences file. The file name can include a fully qualified path. If you do not specify a path, it is assumed the preferences file is in the directory where Data Protection for HCL Domino is installed.
You can also specify the preferences file with the DOMI_CONFIG environment variable.
The default preferences file is domdsm.cfg.
- /LOGFile=logfilename
- Specifies the name of the activity log that is generated by Data Protection for HCL Domino. The log file name is used for the current command and does not update the default log file that is stored in the preferences file. You can use the set command to change the default log file name that is stored in the preferences file. The command-line parameter can be used to override the default for one command run. If the specified file does not exist, it is created. If it does exist, new log entries are appended to the file. The file name can include a fully qualified path. If you do not specify a path, the file is written to the directory where Data Protection for HCL Domino is installed.
You can specify the log file with the DOMI_LOG environment variable.
The default log file is domdsm.log.
When you are using multiple simultaneous instances of Data Protection for HCL Domino to run operations, use the /logfile parameter to specify a different log file for each instance used. This directs logging for each instance to a different log file and prevents interspersed log file records. Failure to specify a different log file for each instance can result in unreadable log files.
- /LOGPRUne=60 | n |No
- Specifies whether to prune log entries. By default, log pruning is enabled and run daily. You can use the set command to do the following actions:
- Change the defaults so that log pruning is disabled
- Change the number of days log entries are saved
You can specify:
- 60
- Specifies that log entries are saved for 60 days before pruning. This is the default.
- n
- Specifies the number of days to save log entries. The range of values is 0 - 9999. A value of 0 deletes all entries in the log except for the current command run entries.
- No
- Do not prune the log.
Changes to the value of the timeformat or dateformat parameters can result in an undesired pruning of the Data Protection for HCL Domino log file. If you are running a command that prunes the log file and the value of the timeformat or dateformat parameter changes, do one of the following actions to prevent pruning of the log file:
- Make a copy of the existing log file.
- Specify a new log file with the /logfile parameter or logfile setting.
Examples
Example 1: The following example queries a list of DB2 databases that are available for rollforward processing after a restore operation:
domdsmc query db2rollforward
Output example:
Backup Date Size Group DB2 Database State ----------- --------- ---------- ------- –-------– 01/26/08 05:34:22 57.00MB DOMINO Pending
Example 2: The following example queries (and displays) a list of DB2 databases that are available for rollforward processing after an alternate DB2 database restore:
domdsmc query db2rollforward
Output example:
DB2 Database Rollforward Status
-------------------------------
Domino Server: polar1
--------------
Backup Date Size Group DB2 Database State
----------–--------- ----------------- –
01/19/08 13:11:44 1,078.00MB GRP8 DOM_ALT Pending
01/19/08 14:12:01 659.00MB GRP5 DOM_ALT1 Pending
01/18/08 13:36:46 1,031.00MB - DOM_FULL Pending