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

Page 36

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

Image 36
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP IndexAbout This Guide What’s in This GuideUsing This Guide Using Onscreen HelpMac OS X Server Suite This guide Tells you how toGetting Documentation Updates Getting Additional InformationServers From Which You Can Upgrade or Migrate Before You BeginMigrating From a Pre-Version 10.4 Server to Version Migrating Users and Groups Migrating From Windows NTUID Here is a list of the predefined group accounts Before You Begin Version Understanding What Can Be ReusedTo upgrade the master and its replicas Upgrading an Open Directory Master and Its ReplicasStep-by-Step Instructions Update your server to version Perform an upgrade installation to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup To update a WebObjects projectWebObjects Secure Sockets Layer SSL CertificatesTo upgrade a group record Directory ServicesNetBoot Images GroupsPrint Service Open Directory Upgrade LogWeb Service Macintosh ManagerVersion Step-by-Step Instructions Upgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup Groups Print Service Upgrading Mac OS X Server Version Before You Begin Understanding What You Can Migrate To reestablish the master and its replicasTo set up See Tools You Can UseGroup info User export file Export users and groups To export users and groupsCreate archive files Web Configuration Data Web ContentMySQL Data Mail DatabaseFTP Configuration Files Webmail DataWebObjects Applications and Frameworks Tomcat DataIP Firewall User DataQuickTime Streaming Server Files and Folders To transfer tar files or disk images using FTP Set up the home directory infrastructureCopy archive files to the new server To prepare the server to store home directoriesTo import users and groups using Workgroup Manager Import users and groups and other dataTo migrate the web configuration Relocate saved data filesTo migrate the mail database AFP Configuration To migrate WebObjectsIP Firewall Configuration To migrate the IP firewall configurationDNS Configuration To migrate the DNS configurationDhcp Settings To migrate the Dhcp configurationSet up share points and privileges To create a share point and set privilegesTest the new server To test the new serverVersion Tools You Can Use Infrastructure Export users and groups Web Configuration Data Nidump -r /config/AppleFileServer . afpconfig Dhcp Import users and groups and other data Relocate saved data files Web Content To migrate the AFP configuration WebObjects Applications and Frameworks Server Admin, start firewall service Test the new server Version Tools You Can Use Export user Export users and groups AFP DNS Copy archive files to the new server Import exported users and groups and other data Relocate saved data files Mail Database AFP Configuration Tomcat Data User Data Migrating From Mac OS X Server Version AFP and NFS services File services administration guide Tools You Can Use Workgroup Manager or dsimport tool Export user and group information To export user and group informationCreate archive files To transfer tar files using FTP Import users and groups and other data Relocate saved data files QuickTime Streaming Server Files and Folders Migrating From Mac OS X Server Version Migrating From AppleShare IP Migrating From AppleShare IP Create Internet aliases for users Meichen,mei Mei chen Users Provide Internet Aliases if necessary Export user and group information if necessaryTo export user information from Asip Mount the Asip server on Mac OS X Server To mount the Asip serverCopy the Users & Groups Data File To copy this fileTo use the AppleShare IP Migration utility To import users and groups using Workgroup Manager Copy data to the new server Migrate mail To have users copy mailTo migrate the Asip mail database Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements