Running Compact using a Program document

Use a Program document to schedule Compact to run at a regular time. For example, schedule Compact to run with the -B option once a week.

Procedure

  1. From the Domino® Administrator, click the Configuration tab.
  2. Next to Use Directory on, select the server with the replica of the Domino® Directory you want to modify.
  3. Expand Server - Programs and then click Add Program.
  4. On the Basics tab, complete these fields:
    Table 1. Basics tab

    Field

    Enter

    Program name

    Compact

    Command line

    Command line options. Don't specify "load" before the options.

    Server to run on

    Enter either the full hierarchical name of a server on which Compact should run, an asterisk (*) to run the task on all servers, or a server group name. Any server group name that you use must be a Server only type of group (not a multi-purpose group).

    Tip: You can use a pattern-matching character in this field. A pattern-matching character -- the question mark (?) -- allows you to include all servers where one or more subsequent characters in the server name vary, for example: Sales??/Renovations includes Sales01/Renovations, Sales02/Renovations, and so on.

    You can also use an asterisk (*) anywhere within a group name; you are not limited to the leftmost component of the hierarchical name. For example: Sales*/Renovations includes Sales001/Renovations, Sales002/Renovations, and so on.

    Comment

    Optional comments

  5. On the Schedule tab, complete these fields:
    Table 2. Schedule tab

    Field

    Enter

    Enabled/disabled

    Enabled

    Run at times

    Times to run Compact each day

    Repeat interval of

    How soon to run Compact again after it completes

    Days of week

    The days to run Compact

  6. Click Save and Close.

What to do next

Remember to perform full backups of the databases after compacting is complete.