Apple Mac OS X Network Card User Manual


 
36 Chapter 4 Migrating From Mac OS X Server Version 10.3
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.