replication2Add my vote for this tag scalability1Add my vote for this tag syndication1Add my vote for this tag create new tag
, view all tags

SyncContrib Package

Synchronisation between a pair of TWiki installs

This contrib (currently only in subversion) provides a command line interface to synchronise two TWiki installs.

It takes forward into a reusable form the code ideas in ReplicationUsingUnison

It is really only an interface to the rather excellent 'unison' tool http://www.cis.upenn.edu/~bcpierce/unison/

I use it to synchronise between my XP-based laptop and a hosted linux install. I can now use either the local or remote servers and have this script replicate the changes back and forth.

The latest version uses hierarchical webs to store the remote web set as subwebs grouped by site.

In time I will probably:

However, you are welcome to take what I've done and improve it.

Its all in SVN - no release yet.

Summary of Contents

Detailed Documentation


Settings are stored as preferences variables. To reference a setting write %<plugin>_<setting>%, e.g. %JSCALENDARCONTRIB_STUB%

  • One line description:
    • Set SHORTDESCRIPTION = SyncContrib offers a command line interface to one-way synchronise two TWiki installs (utilizes the Unison file synchronizer)

  • Name of the perl package
    • Set STUB = _name of the stub, TWiki::Contrib::..._

Installation Instructions

Note: You do not need to install anything on the browser to use this contrib package. The following instructions are for the administrator who installs the package on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip SyncContrib.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/SyncContrib.txt Contrib topic
    data/TWiki/SyncContrib.txt,v Contrib topic repository
    lib/TWiki/Contrib/SyncContrib.pm Contrib Perl module
  • Test if the installation was successful:
    • enter samples here

Contrib Info

Author: TWiki:Main.MartinCleaver
Copyright ©:
License: GPL (GNU General Public License)
Dependencies: none
Change History:  
2018-02-21: Initial version
Home: http://TWiki.org/cgi-bin/view/Plugins/SyncContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SyncContribDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SyncContribAppraisal
Bugs: http://develop.twiki.org/~develop/cgi-bin/view/Bugs/SyncContrib

Related Topics: TWikiPreferences

-- MartinCleaver - 18 Sep 2005

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2008-02-04 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.