Moving Wiki from Windows environment to Linux

Hello, I would like to simply clarify how the backing up of a wiki goes from a windows environment to Linux according to the backup information given here . Do I simply copy my xwiki folder from the Webapps section on the windows side (C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\xwiki) and place it in a similar folder on the Linux end? Or is there some other process. E.G, install a new wiki instance on the Linux side and overwrite it with the one I want copied, along with the database restoration.

Any help will be greatly appreciated as always.

XWiki has 3 parts:

  • The DB
  • The WAR
  • The permanent directory

You need to move those 3.

This I understand how to move.

I take it this is the War I used during installation?

I am unclear on what exactly this entails.

Apologies for all the questions, I am new to Xwiki and want to know as much as I can so I can deploy something that uses the wiki to a great extent.

Regards.

Yes

I’ve rewritten http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup.

Let me know if it answer your questions.

Thanks

Image

So I followed the steps but for the last 2 days I keep getting stumped right here. No errors, it simply hangs at 99% and does not start. Ps. This is my WAR build from the win environment transferred to the Linux env. Any idea what might be casing this?

Anyone have any idea why it wont finish loading after installing the WAR, I honestly cant seem to figure this out. Any help will be greatly appreciated.

EDITED: Will restart my back up process from the working distribution and document each step, hopefully the part I might be making a mistake will be shown.

Thanks for all the help, was able to move it. The issue was that I had to update the hibernate.cfg file to include the new address of the remote server I was using instead of it being “localhost”. This meant I also had to change the user credentials is MYSQL to include the new address as well.