« Finding the remote | Main| Let's put it to a vote »

Go Go Gadget Replication

Category domino
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.

(cross-posted at BleedYellow)

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Contact Me

Hire Me

Elsewhere

What the Quote?

"You can't light cigarettes with chapstick... I've tried, it doesn't work."

Pete Oberlin

"I don't want to shoot the Pope in the eye for a Klondike bar, but anything anything else would be uncivilized."

Steven Rodgers

"You're like a lint brush."

Laura Tripcony

"January is like 5 web years ago."

Bruce Elgort

"Microsoft is as simple as the church. You cannot be a little bit Catholic."

Volker Weber

Apparel

Lotus Rocks

I write the code that makes the young girls cry

Current Terror Alert Level

Assorted Linkage

ClustrMap