Creates a replica of the current database at a new location.
Defined in
Database
Syntax
public Database createReplica(String server, String dbfile) throws NotesException
Parameters
String server
If a database with the specified file name already exists, an exception is thrown.
The new replica has the same access control list as the current database.
Programs making remote (IIOP) calls to a server can't create or access databases on other servers. In these cases, the server parameter must correspond to the server the program is running on. There are two ways to do this:
Language cross-reference
CreateReplica method in LotusScript NotesDatabase class
FileNewReplica @command of formula language
Example See Also