Loading...
 
Architecture / Installation

Architecture / Installation


Moving entire tiki installation to new server

posts: 14

Apologies if this has been asked before. I searched but couldn't find a good answer... frown

I need to move my entire tiki installation to a new server. I have MySQL and PHP up and running, and have created the tiki database with mysql user tikiuser. Now the question is, HOW do I move/copy/recreate all my Tiki information to the new setup?

I tried a few things:

New tiki install, same version 1.8.3. (Created the tiki database in mysql, then configured it in tiki install). Logged in as Admin. Then tried to import a mysql dump file from the old tiki using the Backups feature. It crashed.

Some problem with line 1663 of tiki-install.php: "feature_debug_console"

I have some modified tiki files, like tiki-top_bar.tpl, and others, that I would like to bring over, as well as all my tiki settings (modules etc.) How is this best done? I have been trying for hours and hours...

Thanks.
- James

posts: 2881 United Kingdom

Quite easy :-)

On the existing installation perform a
Copy to clipboard
mysqldump -u tikiuser -p tiki-db > dump.sql
or use similar in phpmyadmin.

On the new run
Copy to clipboard
mysql -u tikiuser -p tiki-db < dump.sql
or similar in phpMyaadmin


Now, you will need to copy over any file, image, and forum directories that are setup, also copy over img/wiki_up , games?, custom themes in styles/ and templates/styles/ to the new installation.

That should be it then :-)

posts: 26 Indonesia
Can i just copy all tikiwiki files to the new hosting and the database?
posts: 2 Spain

> Quite easy :-)
>

> On the existing installation perform a
Copy to clipboard
> mysqldump -u tikiuser -p tiki-db > dump.sql
or use similar in phpmyadmin.

>

> On the new run
Copy to clipboard
> mysql -u tikiuser -p tiki-db < dump.sql
or similar in phpMyaadmin

>
> Now, you will need to copy over any file, image, and forum directories that are setup, also copy over img/wiki_up , games?, custom themes in styles/ and templates/styles/ to the new installation.
>
> That should be it then :-)
>

The problem now is when you want to move of a server with mysql version more old than the new server mysql. When you do mysql -u tikiuser -p tiki-db < dump.sql, appear erros about syntax.

Then? Some idea?

EVA

posts: 55

Thank you for your concise description, but you left out how/where to do this. In phpmyadmin (the only place I can access sql), I get this error:

"#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump -u tikiuser -p tiki-db > dump.sql' at line 1"

Please offer a phpmyadmin version of this action.

posts: 3665 United States

The process is quite easy:

On the old site:

  1. Back up your existing Tiki database. The exact process will vary, but you might find my primer helpful.
  2. Back up any customizations you've made, images you've uploaded, etc. Again, my primer might be helpful.


On the new site:

  1. Restore your database.
  2. Restore your customizations.
  3. Complete the Tiki installer, selecting the UPGRADE option.



You should also consider reviewing the "Move Tiki to a New Server" section in the docs

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting