We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
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

 
Topic revision: r4 - 05 Apr 2007 - 00:14:43 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback