beautypg.com

Apple Mac OS X Server (Upgrading and Migrating For Version 10.4 or Later) User Manual

Page 51

background image

Chapter 5

Migrating From Mac OS X Server Version 10.2

51

Web Configuration Data

Save the following files and directory:

 /etc/httpd/httpd.conf
 /etc/httpd/httpd_macosxserver.conf
 /etc/httpd/httpd_squirrelmail.conf
 /etc/httpd/magic
 /etc/httpd/mime.types
 /etc/httpd/mime_macosxserver.types
 /etc/httpd/ssl.crt
 /etc/httpd/ssl.key
 /etc/httpd/tomcat.conf
 /etc/webperfcache/webperfcache.conf
 /Library/WebServer/

Web Content

Copy web content you want to reuse from:

 /Library/WebServer/Documents/
 /Library/WebServer/CGI-Executables/
 Any other location in which it resides

MySQL Data

Mac OS X Server version 10.2.8 preinstalled version 3.23 of MySQL. Server version 10.4
preinstalls MySQL version 4.0.20.

To migrate your MySQL databases from one computer to another, you can use the

mysqldump

command from a Terminal window. To back up the data, type:

mysqldump -p table > backup-file.sql

or

mysqldump --opt database > backup-file.sql

Additional instructions for database backup and restore can be found in the MySQL
documentation at www.mysql.com.

Mail Database

Save the mail database if you want to reuse it. Its default location is /Library/
AppleMailServer/.

Webmail Data

If you’ve been using the SquirrelMail installed when you installed version 10.2 and want
to continue using it after migration, make copies of the address books and preferences
stored in /var/db/squirrelmail/data/.