Move Tiki using SSH | |
WARNING: INCOMPLETE/INACCURATE - this is a new page not yet complete or even correct.
|
Migration often isn't as Simple as it Looks | |
However, this approach has several serious drawbacks:
Migration Made Easy Here's a method that will simplify your migration and slash unnecessary work in the process. |
Log in to your old server | |
|
Find your site directory | |
:cd /usr/www/htdocs/yourdomain).(substitute your info for italicized text)
|
Create a zip file with everything in it. | |
You can compress all the files into an archive by entering the following on the command line: tar -cpz --same-owner -f yourdomain.tar.gz * .htaccess
Understanding tar
The "tar" command requires the following syntax: function:
|
Create a user account on the new server | |
|
Upload the archive. | |
Upload the file "yourdomain.tar.gz" to your new system. There are two possible ways to do this:
|
Log into the new system | |
|
Locate your new directory | |
|
Unpack the achive | |
tar -xz -f yourdomain.tar.gz function: x extract files from an archive
There - you have now successfully duplicated the previous, familiar environment on your new system! However, I'd recommend that you test the new domain setup thoroughly, especially your CGI scripts, before you launch it officially. |
Exporting the database | |
|
Restoring the database | |
|