Release Notes
Chapter 1, Read this before installation

Migrating server configuration and data

Migrating server configuration and data

You can migrate your Netscape FastTrack Server configuration and data files to your SCO OpenServer system.

The following sections describe how to:




Saving server configuration and data: standard configuration

If your system does not use virtual domains, save the following files and directories to a floppy disk:

   /usr/internet/ip/0.0.0.0/publish/*
   /usr/internet/ip/0.0.0.0/publish/ftp/*
   /usr/internet/ip/0.0.0.0/ns_httpd/config/magnus.conf
   /usr/internet/ip/0.0.0.0/ns_httpd/config/obj.conf
   /usr/internet/ip/0.0.0.0/ns_httpd/config/mime.types
   /usr/internet/ip/0.0.0.0/ns_https/config/magnus.conf
   /usr/internet/ip/0.0.0.0/ns_https/config/mime.types
   /usr/internet/ip/0.0.0.0/ns_https/config/obj.conf
   /usr/internet/ns_httpd/docs/*
   /usr/internet/ns_https/docs/*
Some of these files and directories might not be present on your system (if, for example, you have not configured an ftp server or a secure server).

For an example of creating a simple shell script to save these files to disk, see ``Example sendmail backup'' earlier in this chapter. 

Saving server configuration and data: virtual domain configuration

If your system uses virtual domains, save the following files and directories to a floppy disk:

/usr/internet/ip/ipaddress/ns_httpd/config/magnus.conf
/usr/internet/ip/ipaddress/ns_httpd/config/obj.conf
/usr/internet/ip/ipaddress/ns_httpd/config/mime.types
/usr/internet/ip/ipaddress/ns_https/config/magnus.conf
/usr/internet/ip/ipaddress/ns_https/config/obj.conf
/usr/internet/ip/ipaddress/ns_https/config/mime.types
/usr/internet/ip/ipaddress/publish/htdocs/*
/usr/internet/ip/ipaddress/publish/htdocs-s/*
/usr/internet/ip/ipaddress/publish/ftp/*
/usr/internet/ip/ipaddress/HOSTNAME


NOTE: ipaddress is the IP address of each of your virtual domains.

You must save one set of files and directories for every IP address you host. For example, if you host virtual domains at addresses 192.168.118.1 and 192.168.118.2, you must save these files:

/usr/internet/ip/192.168.118.1/ns_httpd/config/magnus.conf
/usr/internet/ip/192.168.118.2/ns_httpd/config/magnus.conf


Some of these files and directories might not be present on your system (if, for example, you have not configured an ftp server or a secure server).

For an example of creating a simple shell script to save these files to disk, see ``Example sendmail backup'' earlier in this chapter. 

Post-installation server configuration

After you install SCO OpenServer on your system, you might need to use the Internet Manager to prepare the system for the configuration files you saved.

If you are not restoring any of the above, proceed to ``Restoring server configuration files''. 

Restoring server configuration files


NOTE: If you are restoring virtual domains, an ftp server, or a secure server, please read: ``Post-installation server configuration''

To restore the saved server configuration files:

  1. Insert the floppy containing the server configuration files into the disk drive.

  2. From the command line, enter:

    tar xv6

    This restores the saved server configuration data.

  3. Follow the instructions in either ``Copying server configuration files - no virtual domains'' or ``Copying server configuration files - virtual domains''.


Copying server configuration files - no virtual domains

Several files you restored must be copied or moved into different locations on the system.

Copy the following files into /usr/internet/ns_httpd/admserv/httpd-80/:

/usr/internet/ip/0.0.0.0/ns_httpd/config/magnus.conf
/usr/internet/ip/0.0.0.0/ns_httpd/config/obj.conf
/usr/internet/ip/0.0.0.0/ns_httpd/config/mime.types

If you are running the secure server, copy the following files into /usr/internet/ns_httpd/admserv/https-443/:

/usr/internet/ip/0.0.0.0/ns_https/config/magnus.conf
/usr/internet/ip/0.0.0.0/ns_https/config/mime.types
/usr/internet/ip/0.0.0.0/ns_https/config/obj.conf

If you are running a secure server, move any files in /usr/internet/ns_https/docs into /usr/internet/ip/0.0.0.0/ns_httpd/publish/htdocs-s. 

Copying server configuration files - virtual domains

Several files you restored must be copied into additional locations on the system.

Copy the following files into /usr/internet/ns_httpd/admserv/httpd-80.ipaddress:

/usr/internet/ip/ipaddress/ns_httpd/config/magnus.conf
/usr/internet/ip/ipaddress/ns_httpd/config/obj.conf
/usr/internet/ip/ipaddress/ns_httpd/config/mime.types

ipaddress is the IP address for each virtual domain. For example, for the virtual domain 192.168.118.3, copy files from:

/usr/internet/ip/192.168.118.3/ns_httpd/config/

into:

/usr/internet/ns_httpd/admserv/httpd-80.192.168.118.3/

If you are running the secure server, copy the following files into /usr/internet/ns_httpd/admserv/https-443.ipaddress:

/usr/internet/ip/ipaddress/ns_https/config/magnus.conf
/usr/internet/ip/ipaddress/ns_https/config/obj.conf
/usr/internet/ip/ipaddress/ns_https/config/mime.types