Tags:
create new tag
, view all tags

Question

I have a current installation of TWiki on a machine foo. Now I want to move the entire stuff to another machine bar, in the same directory structure (say /usr/local/share/twiki) - are there any problems in doing a "cp"?

  • TWiki version: latest
  • Perl version:
  • Web server & version: does not matter
  • Server OS: solaris
  • Web browser & version: -
  • Client OS: -

-- TWikiGuest - 22 Feb 2003

Answer

I actually just had to do this two days ago on our new server box, with the exception of the machine having the same hostname. You shouldn't have any troubles just doing a straight cp -p of your twiki directory. The -p flag will preserve all the original permissions/ownerships for you, assuming you can directly copy from the old machine's hard drive to the new one via nfs, physically connecting the drive to the new box, scp -p via ssh, etc.

If possible, you should remount the partition your TWiki is on read-only during the copy, to prevent any possible corruption by TWiki activity.

Make sure to update your lib/TWiki.cfg file with the bar's hostname after copying, reinstall the mailnotify and statistics crontab entries, and update your new web server's cgi permissions for twiki.

-- MikeMaurer -22 Feb '03

Qbi-Jens @ #twiki mentioned that, additional you have to edit lib/LocalSite.cfg.

An alternative would to be go back to /bin/configure to double check on your settings, get rid of the errors and warning messages. smile

-- KwangErnLiew - 24 Oct 2006

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

-- PeterThoeny - 05 Apr 2007

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

-- PeterThoeny - 2011-09-06

 
Topic revision: r5 - 2011-09-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.