This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 23, 2012, 2:05 PM
10 Posts
topic has been resolvedResolved

db.Replicate

  • Category: Server Side JavaScript
  • Platform: Other
  • Release: 8.5.3
  • Role:
  • Tags:
  • Replies: 3
With db.replicate(Server Side JavaScript) we can replicate the current database with a know server.
 
How can i use db.replicate or something else for a different database?(not the current) 
 
 
Oct 23, 2012, 3:34 PM
586 Posts
Re: db.Replicate
 Just get a handle on it via SSJS or Java I would guess.  No different the LotusScript really.
 
Create a new var for the foreign database and then once it's instantiated use the replicate method.
 
Something like this maybe:
 
var myDB:NotesDatabase = session.getDatabase(database.getServer(), "foreignDB.nsf");
 
 
 
Dave 
Oct 31, 2012, 8:43 AM
10 Posts
Re: db.Replicate
 Very important: The source database must be local or an exception is thrown. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal