Hi there! I have a client who needs to replicate the NAB locally on an End-User machine. They need to do this on a scheduled basis, BUT they cannot leave the machine logged on. (They are useing EMC Legato’s EmailXtender and the EX server requires the NAB locally due to the size of the names.nsf).
Is there any way to run the replication task on a client via some kind of script?
I remember way back in R3 and R4 you could run compact from a command line… But I can’t find a replica.exe or an nreplica.exe on a Notes client.
Any ideas?
Thanks a lot!
Paula
Subject: EndUser Replcation without logon
The best thing is probably to write a small VBScript to trigger the replica.
You can access the Notes API over COM, and use the Database.replicate method to trigger the actual replication.
The script itself is something like this
Dim session as Variant
Dim db as Variant
Set session=createObject(“Lotus.NotesSession”)
call session.Initialize(“password to the id file”)
set db=session.getDatabase(“”,“names.nsf”)
call db.replicate(“servername”)
Check the designer help file for more information. You may also want to read up about Windows Script Host.
cheers,
Bram