This should merge with Move Tiki using SSH
Migrate a Tiki to a new server with SSH
These instruction are more tips/reminders for developers than step by step instructions for end-users
Close site
DBYou can use PhpMyAdmin if you have it on both servers, but often, files are too big for web interface or you could get "#1153 - Got a packet bigger than 'max_allowed_packet' bytes ". You can also get this via the command line.
Backup DB
Copy to clipboard
Get the db, user and password from db/local.php Copy to clipboard
Check the file to be sure it contains the last table: users_users Copy to clipboard
Move DBSFTPYou may want to compress before you migrate use bzip2 Copy to clipboard
Move the file via SFTP and then, uncompress: use bunzip2 Copy to clipboard
rsyncYou can adapt rsync instructions below Restore DBCreate a new DB via your control panel. This a good opportunity to change the password, so don't use the same as before. Copy to clipboard
Copy to clipboard
If so, delete your partially created database, search for the solution for your server to increase this value, and try again. After you restore, compare both databases via PhpMyAdmin to double check all was well transferred. The number of tables and records should be identical, however, the size in megs can vary, and that's OK.
Files in web directory
Check for differencesThis is a good time to check if the Tiki has been modified. The following commands will show you if files were modified.
CVSCopy to clipboard
SVN
Security check
Migrate files
RsyncSSH in the new site. From here, we'll pull the files Create some directoriesCopy to clipboard
Do a test runCopy to clipboard
Do it for realRemove --dry-run from above Once this works, you can move the files from
Zip & (S)FTP
Adjust the file permissionsCopy to clipboard
Files outside the web directory
And where attachments are stored for wiki, file gallery, trackers, forums, etc. Ex: tiki-admin.php?page=wiki Make sure to move these as well... Update database connection
Switch the DNS
Add an alternate domain to the old site
Open the new site
|