moveReplica (AdministrationProcess - Java™)
Enters a request in the Administration Requests database to move a replica.
Defined in
Syntax
public String moveReplica(String sourceserver, String sourcedbfile, String destserver)
throws NotesException
public String moveReplica(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 moved. An empty string ("") means the local server.
String sourcedbfile
The pathname of the database being moved relative to the data directory.
String destserver
The full hierarchical name (can be abbreviated) of the server containing the moved replica. An empty string ("") means the local server.
String destdbfile
The pathname of the moved 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 create 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 "Non-cluster move replica" administration process requests.