createReplica (NotesAdministrationProcess - JavaScript)

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

Defined in

NotesAdministrationProcess

Syntax

createReplica(sourceserver:string, sourcedbfile:string) : string

createReplica(sourceserver:string, sourcedbfile:string, destserver:string, destdbfile:string, copyacl:boolean, createftindex:boolean) : string

Parameter Description
String sourceserver The full hierarchical name (can be abbreviated) of the server containing the database being replicated. An empty string ("") means the local server.
String sourcedbfile The pathname of the database being replicated relative to the data directory.
String destserver The full hierarchical name (can be abbreviated) of the server containing the replica. An empty string ("") means the local server.
String destdbfile The pathname of the new database relative to the data directory. Defaults to the same pathname as the source file.
boolean copyacl
  • true (default) to copy the ACL
  • false to not copy the ACL
boolean createftindex
  • true to creates a full-text index
  • false (default) to not create a full-text index
Return value Description
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.

Language cross-reference

createReplica in LotusScript® NotesAdministrationProcess class

createReplica in Java AdministrationProcess class