Question
Hi,
Is there any way of moving a Twiki installation with all its data from one (Windows 2000) computer to another?
Thanks, Raghavendra
Environment
--
RaghavendraG - 27 Dec 2005
Answer
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.
Assuming old=<A> and new=<B>, you could do something as simple as set your webserver on server <B> to be identical to <A>. Create a share on server <A>, have <B> mount the share, then copy the entire twiki tree over from <A> to <B>. Then start serving from <B> instead of <A>.
--
SteveRJones - 28 Dec 2005
The directories do not need to be identical, just make sure to configure TWiki properly.
Also, if the CGI user changed you need to relock the
RCS files. See
TWikiInstallationGuide#StepThree
--
PeterThoeny - 28 Dec 2005
I have a similar problem. I set up TWiki on Windows XP Pro for testing purposes and now we decided to keep it. Now I want to move it either to another Windows XP Pro or maybe a Windows 2003 Server installation. I used the installer (TWiki 4.2.0, Apache 2.2.4,
ActivePerl 5.8.8 Build 822,
GnuWin32). How do I move it? Do I just use the installer on the new system and then copy the whole old TWiki directory to the new system or do I need to only copy specific files? A step by step guide would be very helpful. Thanks.
--
EichelhardtAnne - 17 Sep 2008
You should run the installer again, because besides laying down the TWiki files, it makes some PATH settings and creates the Apache service.
Then copy the content of both /TWiki/data and /TWiki/pub. To be precise, you only need the non-default webs in those directories, and any content in Main that has been updated since you installed (e.g., users and groups, and TWikiPreferences). If you made any customizations (e.g., templates), you will need to copy those as well.
On a related note, the installer puts everything on the "C:\" drive, which doesn't always work in enterprise environments (sysadmins often like to keep that drive isolated to the OS only). It took me a while to get everything working with a different drive. If it turns out you need to do that, I have described that process on my user page.
--
SeanCMorgan - 17 Sep 2008
Also move any content in the /TWiki/working directory.
--
RafaelAlvarez - 17 Sep 2008