Moving a Database to Another Server

Moving Considerations
DNS Considerations
To or From Tru64
Resources

Moving Considerations

It's actually pretty easy to move a Web Crossing database from one server machine to another - even from platform to platform. But there are some basic considerations to keep in mind:

Note: An alternative to setting the script name alias is to export the entire site and edit the resulting SGML text file to replace all instances of your old script name (and/or directory pathway) and replace with the new script name or directory pathway. Then reimport the site. See the directions below, in the Tru64 section, for details.

DNS Considerations

If you're moving your site from one IP address to another, or from one web hosting company to another, you'll need to be prepared for the lag time while your domain name change makes its way through Internic and the changes propagate across the Domain Name Server (DNS) network. It can take up to several days for the change to show up everywhere.

There are several ways to approach this, but this is probably the simplest way:

  1. Once you send the DNS change form through, make your entire old site read-only. You can change the access rights to read-only for all users by using the top-level Access List or changing the privileges for users in the control panel. (Control Panel > User management > Registered users and Guest users)
  2. Shut down Web Crossing temporarily to make a copy your database, and then restart it. (Or shut it down while you FTP, and restart when you've moved it.)
  3. Move it to the new site using binary mode, replacing the webx.db file created by default when Web Crossing starts up. Restart Web Crossing and open for business. (If you copied the database after you made the site read-only, remember to change the settings again on the new site.) Rebuild your search index, too. It's not a bad idea to do an initial backup also, so you have some backup files.
  4. You can leave the old site up and running so people can read your content, but you don't want anybody adding new material after you copy the database. You might put a note on the front page about what's happening so your users aren't surprised. That way, when individual users' DNS servers make the change, your folks will arrive at your new site and be able to post right away.

To or From Tru64

If you're moving to or from a server machine using Tru64, you'll need to Export the entire old site, move it to the new site, and then Import it in the new location rather than simply moving the database directly. (Web Crossing no longer supports Tru64, so you will probably be moving from that platform if this applies to you.)

This is how:

  1. On the old server, go to the Control Panel > Export > Export entire site
  2. Make note of the file name that's created.
  3. Install Web Crossing on the new server and move your export file to the webx system directory on the new server. It's a very large text file.
  4. Also move the following files and directories:
  5. Start Web Crossing, access it, and answer the initial setup questions. It's important to install a certificate at this point if your free server is a Bronze, or you won't be able to import your whole database if you're running something other than a free version. (Bronze servers had limitations on database objects.)
  6. Log on as sysop and delete the Guided Tour. This is important so unique ID numbers can be preserved within your import file.
  7. Go to Control Panel > Memory usage and give Web Crossing at least as much memory as the old database was using.
  8. Import the file from step 1. This can take several minutes up to possibly hours to process, depending on how big your database is.
  9. When the import is completed, set the server name alias, if necessary, as described above. Also change the IP address in the Host Name aliases setting just above.

Resources

Sysop Control Panel

Web Crossing FAQ