Tags:
create new tag
, view all tags

Question

My ISP is making me move servers and I'd like to install a new version of TWiki before moving my TWiki content. Is there a way I can maintain the TWiki state (e.g. the history of page changes), or do I need to newly create each page on the new site? The TWiki docs on upgrading seem to assume you are upgrading code on an existing installation -- what about the other way around (new code installed, want to import old data)?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: All
Web server: All
Perl version: All
Client OS: All
Web Browser: All

-- RamonFelciano - 02 Dec 2003

Answer

Warning (20 May 2008): this is obsolete contents. See below.

The best way to do this, IMO, is to (1) migrate your TWiki to new host without changing version, check this works OK, and then (2) upgrade TWiki. The former is actually quite easy, just take care to archive your directories completely using relative pathnames (assuming you are using Unix/Linux since not specified and you are on a hosted site) - tar is the best option, avoid using '/' at start of pathnames and you should be fine. See HowToRestoreFromBackup for some links to previous discussion on this topic.

You could do (2) then (1) as suggested, as long as you really test the upgrade first.

Also, since your ISP is forcing the move, why can't you get them to transfer all the files, including exact permissions, to another host, preserving all the pathnames? If the pathnames vary a bit, you should be able to accommodate this with tweaks to TWiki.cfg. -- RichardDonkin - 02 Dec 2003

See also MigratingDataFrom1TwikiTo2Twiki, HowToRestoreFromBackup, MoveInstallationToOtherMachine, HowToMoveTwikiData and RelocatingTwikiSite.

-- PeterThoeny - 05 Apr 2007

I have a similar requirement - I am moving my Twiki to a new server and I note there are MUCH newer versions. If I take the same advice, how easy is it to ensure that to start with I'm installing the new server with the SAME version of Twiki as the current machine? After that, I guess I can just follow the Upgrade instructions for the latest edition.

-- ChrisComley - 19 May 2008

Actually, it will be easier now. If you look at the upgrade instructions on current version, they actually advise you to install the new version elsewhere and then migrate the contents. So just ignore Richard 2003 advice and simply follow the upgrade procedure

-- ColasNahaboo - 20 May 2008

TWiki has now an easy point & click solution to upgrade TWiki with the help of the BackupRestorePlugin.

-- PeterThoeny - 2011-09-06

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2011-09-06 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.