Tags:
create new tag
, view all tags

Question

Hello, I need to know what files, or if there is an easy way to move an existing Twiki server to a new phisical server. Running Ubuntu (Debian Based 3.1r2) Kernel 2.6 If you need more info, please let me know. Thank you.

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux 2.6.10-5-386
Web server: Apache 2.0
Perl version: v5.8.4
Client OS: XP
Web Browser: FireFox and IE
Categories: Installation

-- JdHenderson - 17 Jul 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

The basic approach is to just tar and gzip the files (assuming everything is under /home/twiki) - then, copy to the new machine and unzip in a similar place. You will need to replicate a similar Apache config, edit bin/LocalLib.cfg, etc, and then just change settings via configure (which edits lib/LocalSite.cfg). The main task is making sure that the new URL and filesystem path settings are right, and ensuring that all files have correct ownership and permissions. Re-locking of RCS files is also sometimes needed.

If you have existing users of your server, it's a good idea to set it to read-only or take it down completely, and of course warn them ahead of time (e.g. using the BroadcastMessageHandling feature). If you have a significant user base it's worth doing a pre-migration test to get it all working on the new server, then a final cutover that only migrates files modified recently.

It's best in my experience to move the site while keeping the same version, i.e. just transfer all script, template and data files, rather than trying to combine a server move with a TWiki upgrade. Once you've moved the server you can run UpgradeTWiki as needed.

Hope that helps - this has come up quite a few times before, so do have a Google for relevant topics here - Google:twiki+server+move, or (better) type 'server move' into the shiny new 'Google AJAX' search field at the top of this page.

-- RichardDonkin - 18 Jul 2006

Thank you so very much Richard, this will come in very handy. Awesome. Thanks.

-- JdHenderson - 18 Jul 2006

 
Topic revision: r3 - 2006-07-18 - JdHenderson
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.