You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/04/06 11:07:36 UTC

replication through SSH/SCP

Dear All

I have checked in an ant build to replicate data via SSH/SCP from
one machine to another. It can be found at:

http://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/

whereas it "expects" two directories within the Publication:

.../pubs/MY_PUB/pending (documents to be published on Live server)
.../pubs/MY_PUB/delete  (documents to be deleted on Live server)

The replication is decoupled from Lenya itself, and best pratice is to
run it as cronjob (e.g. every minute). This has the advantage that an editor
can keep working on the authoring machine if maybe the network between 
intranet and DMZ is not available or servers are being exchanged.

Please let me know if anything is unclear and I will try to clarify within
the README.

Thanks

Michi

-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org