createReplica (AdministrationProcess - Java)

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

Defined in

AdministrationProcess

Syntax

public String createReplica(String sourceserver, String sourcedbfile)
    throws NotesException
public String createReplica(String sourceserver, String sourcedbfile, String destserver, String destdbfile, boolean copyacl, boolean createftindex)
    throws NotesException

Parameters

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

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.

Example