Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Moving Servers

#1 2006-08-10 13:58:40

progre55
Member
Registered: 2006-05-02
Posts: 668

Moving Servers

Not sure if this is where it should go, but thought it may be useful for someone. ALSO, I can not guarantee this method, but it worked for me.

Where as I used some of the info in Textbook, I found it to be a little incomplete.

I recently had to move a textpattern client to a new server (I was developing on one and they were using a different host). Since this was my first time moving a textpattern site, I was very hesitant of the process. In fact in the end, it was quite simple.

Development Site:

1. I made a complete copy of the development site (both structure and folders)
2. Made a copy of the mysql database (following the instructions in TextBook)

New Server

1. Created a MySql Database. In my case, I had to change the name of the database from the development database
2. Installed a clean copy of Textpattern
3. Imported the contents of both the images and files folders from my development site.
4. Transferred over some javascipts for a couple of plug ins I am using
5. Using phpMyAdmin dropped all the tables from the new database that I had created
6. Took the backup that I had created from the original database, removed the following section of the file:

— phpMyAdmin SQL Dump
— version 2.6.0-pl2
— http://www.phpmyadmin.net

— Host: XXXXXXXXX
— Generation Time: Aug 09, 2006 at 09:59 AM
— Server version: 4.0.26
PHP Version: 4.3.10

— Database: `XXXXXXX`

CREATE DATABASE `XXXXXXXX`;
USE XXXXXXXXX;

— ————————————————————————————

7. Imported the development mySQL file into the new database.

8. Site was up and running

Some points to be aware of.

A. In my case, the development site was using IP address. So I had to go into the new location and switch any references to this IP.

B. Although the above process seems simple to me now, it took me several differnet attempts to move the mySQL database over and get it functioning correctly. Ultimately, removing the top section did my trick.

C. I have reviewed the site and all looks good, but cliet is still reviewing.

Last edited by progre55 (2006-08-10 13:59:20)

Offline

#2 2006-08-11 19:33:00

NickML
Member
From: Scotland
Registered: 2006-05-14
Posts: 58
Website

Re: Moving Servers

I built the TXP version of the new site on a backup domain, then when it was ready to go live, I backed up the site using the truly excellent rss_admin_db_manager plugin.

On the “destination” domain, I then installed TXP, installed rss_admin_db_manager, then restored from the previously backed up domain.

I seem to remember there may have been one or two more steps, but it was still pretty simple.

~ Nick

Offline

  1. Index
  2. » Archives
  3. » Moving Servers

Board footer

Powered by FluxBB