[MarkLogic Dev General] Syncing only documents that have changed
gregory.murray at ptsem.edu
Fri Feb 10 06:56:06 PST 2012
I need to copy documents from one server (development) to another (production) but copy only documents that have changed, that is, each document on development that has a more recent last-modified property than the corresponding document on production.
Does xqsync have an option for this? I'm not seeing one.
If not, can Information Studio do this?
If not, is it possible to run an XQuery query that connects to an XDBC server on a different machine? If so, I could easily take the last-modified property of the document in the database against which I run the query (development) and compare it against the same property of the corresponding document on the production machine. In the past I've used the <database> option of xdmp:eval() to grab documents from a different database on the same machine, but in this case I need to connect to a different machine altogether.
Digital Library Application Developer
Princeton Theological Seminary
More information about the General