ADMINISTERING


Running the database maintenance tool from a Program document
When you run the DBMT tool from a Program document, you can specify additional system databases on which the tool should run, as well as other command line options.

Procedure

1. Edit the notes.ini file on the server that contains the mail files and make all the following changes:

2. Create a Program document that specifies the dbmt tool runs once at server startup.

3. Specify the command in the Program document with at least the following options: -compactThreads n -updallThreads n -range starttime stoptime -compactNdays n -force d


4. Specify additional options from the following table.
What to do next

The DBMT tool also allows you to specify a nondiscardable view to Domino®. A nondiscardable view is built by DBMT during updall (if it has not yet been built) and will not be discarded due to inactivity. You can specify nondiscardable views for standard mail templates beginning with Domino 7.0. The standard mail template for IBM® Domino 9.0.1 Social Edition is Mail (R9) (mail9.ntf). If you are using an earlier mail template version, see the program data directory for the name of your mail template.

The following are the standard nondiscardable views:


To specify additional views as nondiscardable, use the dbmt_template name NOTES.INI setting in the following format:

dbmt_template name=view_name_or_alias;view_name_or_alias;view_name_or_alias

If you use a custom template, you can add a new template name by using the DBMT_MailTemplate setting, which supports a comma delimited list of template names. Substitute the template name after the underscore, and separate the view or alias names with either semicolons or commas, as shown in the following example:

dbmt_mailtemplate=ModTemp1,ModTemp2

In this example, the databases using the ModTemp1 or ModTemp2 template will have the same nondiscardable views as the standard Domino mail templates (mail9.ntf for example).

Parent topic: Maintaining user mail files using the dbmt tool instead of updall
Next topic: Running the database maintenance tool from the server console