Apple Mac OS X manual Afp

Page 65

MySQL Data

Mac OS X Server version 10.1 preinstalled MySQL version 3.23. 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

Mac OS X Server version 10.1 didn’t include a preinstalled WebMail client. If you installed SquirrelMail on your own, you may want to save the user preferences and address books, and try to migrate them to SquirrelMail 1.4.3 on the version 10.4 server.

FTP Configuration Files

To migrate your FTP settings, save these configuration files:

In this directory

Save these files

/Library/FTPServer/ftpaccess

Configuration/ftpconversions ftphosts ftpgroups ftpusers

/Library/FTPServer/Messages/ banner.txt welcome.txt limit.txt

AFP

Save the AFP configuration after running the following command from the Terminal application. This command writes the AFP configuration record stored in NetInfo to a file named afpconfig:

nidump -r /config/AppleFileServer . > afpconfig

WebObjects Applications and Frameworks

Save WebObjects applications and frameworks located in:

Â/Library/WebObjects/

Â/System/Library/WebObjects/

Chapter 6 Migrating From Mac OS X Server Version 10.1

65

Image 65
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Index Migrating From AppleShare IPWhat’s in This Guide About This GuideUsing Onscreen Help Using This GuideThis guide Tells you how to Mac OS X Server SuiteGetting Additional Information Getting Documentation UpdatesBefore You Begin Servers From Which You Can Upgrade or MigrateMigrating From a Pre-Version 10.4 Server to Version Migrating From Windows NT Migrating Users and GroupsUID Here is a list of the predefined group accounts Before You Begin Understanding What Can Be Reused VersionStep-by-Step Instructions To upgrade the master and its replicasUpgrading an Open Directory Master and Its Replicas Perform an upgrade installation to version Update your server to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version To update a WebObjects project Make Adjustments as needed after initial server setupWebObjects Secure Sockets Layer SSL CertificatesDirectory Services To upgrade a group recordNetBoot Images GroupsOpen Directory Upgrade Log Print ServiceWeb 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 To reestablish the master and its replicas Understanding What You Can MigrateTools You Can Use To set up SeeGroup info User export file Create archive files Export users and groupsTo export users and groups Web Content Web Configuration DataMySQL Data Mail DatabaseWebmail Data FTP Configuration FilesWebObjects Applications and Frameworks Tomcat DataQuickTime Streaming Server Files and Folders IP FirewallUser Data Set up the home directory infrastructure To transfer tar files or disk images using FTPCopy archive files to the new server To prepare the server to store home directoriesImport users and groups and other data To import users and groups using Workgroup ManagerRelocate saved data files To migrate the web configurationTo migrate the mail database To migrate WebObjects AFP ConfigurationTo migrate the IP firewall configuration IP Firewall ConfigurationTo migrate the DNS configuration DNS ConfigurationDhcp Settings To migrate the Dhcp configurationTo create a share point and set privileges Set up share points and 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 To export user and group information 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 To export user information from Asip Provide Internet Aliases if necessaryExport user and group information if necessary To mount the Asip server Mount the Asip server on Mac OS X ServerTo use the AppleShare IP Migration utility Copy the Users & Groups Data FileTo copy this file To import users and groups using Workgroup Manager Copy data to the new server To migrate the Asip mail database Migrate mailTo have users copy mail Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements