36

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.3.9 preinstalled version 4.0.18 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

If you want to reuse the mail database and mail store, stop mail service if it’s running and save files the database and store. By default:

ÂThe mail database resides in /var/imap/.

ÂThe mail store resides in /var/spool/imap/. You can back up individual mail storage folders or the entire mail store.

The ditto command-line tool is useful for backing up mail files. See its man page for information about it.

Chapter 4 Migrating From Mac OS X Server Version 10.3

Page 36
Image 36
Apple Mac OS X manual Web Configuration Data, Web Content, MySQL Data, Mail Database