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/.

Chapter 5 Migrating From Mac OS X Server Version 10.2

51

Page 51
Image 51
Apple Mac OS X manual Web Configuration Data