Home ›
Transfer sites to new server checklistTransfer sites to new server checklist
Submitted by Benjamin Melançon on May 19, 2007 - 6:55am
Transfer sites from old host to our new server steps.
- Create a new site with Agaric's addsite script. (Really? OK.
addsite example example.org) - Create a database for the site. Check if it exists first
- Download our old-server site's theme and add it to example.org/themes directory, done.
- Check out to live-sites, done.
- Copy over or create the empty files directory, done.
- Copy over the plain settings.php from test-sites (we missed this so our settings.php is currently in live-sites/default).
NOTE: If a test-to-live script can do this only if files and settings.php do not exist that would be fantastic - Export our old-server site's database, change the table prefixes to our standard (find-and-replace in a text editor), and import via phpMyAdmin into database created in step 2. We ought to delete cache_ data (but not the tables themselves) in this process.
- Edit settings.php manually or use the Drupal installer to make it-- it will notice that the database is populated and not overwrite tables.
- Download sites/example.org/files from old server and upload to new.
Extra note: to prevent downtime, we use a spare domain or subdomain and symlink it to the directory of the site, example.org, that we are going to move over once it all works.
More like this
- The Ultimate Agaric Web Site Design, Development, and Deployment Checklist
- Creating a new site from an old site
- Agaric wants to create a new text file with a keyboard shortcut in Mac OS X
- Connecting to a server that does security by IP address... finding your IP address
- See and share a terminal server SSH session


Comments
For the command line,
For the command line, non-phpMyAdmin way to copy databases, see:
http://agaricdesign.com/backing-up-restoring-making-test-databases-with-mysql-command-line
Post new comment