Go Go Gadget Replication
A friend of mine recently set up a Domino server at home running on Fedora, and is currently replicating a few databases with my personal server. He's locked out of the rest of the databases on my server, of course, so the connection document is set to only synch the ones he has access to. But in order to trigger a manual replication (outside of the schedule defined in the connection), he had to issue a separate Replicate command for each database to avoid getting errors about all the databases with shared replica IDs that his server can't access. He wanted a single command that would allow him to just type "go go gadget replication" and have it do everything he wanted, but only what he wanted. As it turns out, IBM posted instructions for this just last Friday.
If you issue a console command with the following syntax: < "filename" ...Domino looks for the specified filename relative to the data directory, and treats each line in the specified file as a separate console command. So, for example, a file named "go go gadget replication" (no extension necessary) in the data directory containing:
Replicate Coyote/ACME names.nsf Replicate Coyote/ACME mail/coyote.nsf Replicate Roadrunner/ACME stuff.nsf Broadcast "(!)Selective replication manually initiated." "Wile E Coyote/ACME"
Wile E can now issue the following console command (the < indicates the rest of the command is a filename):
< "go go gadget replication"
The server will kick off three replications, then pop up a message confirming the comands.
NOTE: on Linux, the file must be owned by notes:notes (or whatever user:group Domino is running under) in order for this to work.
|
Go Go Gadget Replication
|