CreateReplica (NotesAdministrationProcess - LotusScript®)

Enters a request in the Administration Requests database to create a replica.

Defined in

NotesAdministrationProcess

Syntax

noteID$ = notesAdministrationProcess .CreateReplica( sourceserver$ , sourcedbfile$ [ , destserver$ ] [ , destdbfile$ ] [ , copyacl ] [ , createftindex ] )

Parameters

sourceserver$

String. The full hierarchical name (can be abbreviated) of the server containing the database being replicated. An empty string ("") means the local server.

sourcedbfile$

String. The pathname of the database being replicated relative to the data directory.

destserver$

String. The full hierarchical name (can be abbreviated) of the server containing the replica. An empty string ("") means the local server.

destdbfile$

String. Optional. The pathname of the new database relative to the data directory. Defaults to the same pathname as the source file.

copyacl

Boolean. Optional.

  • True (default) copies the ACL.
  • False does not copy the ACL.

createftindex

Boolean. Optional.

  • True creates a full-text index.
  • False (default) does not create a full-text index.

Return value

noteID$

String. The note ID of an entry created in the Administration Requests database.

Usage

This method triggers "Check access" and "Create replica" administration process requests for unclustered servers, or clustered servers in different clusters. This method triggers "Check access" and "Accelerated create replica" administration process requests for servers in the same cluster.

Example