Apple 034-2344 manual Restore saved data

Page 44

44

8To create home directories for imported users, you have several options.

Create home directories one at a time by selecting a user account in Workgroup Manager, clicking Advanced, then clicking Create Home Now.

Create all the home directories by using the -a argument of the createhomedir command. For details, see the command-line administration guide or the man page for createhomedir.

A home directory associated with an AFP share point is automatically created the first time a user logs in if it doesn’t exist already.

Step 8: Restore saved data

Copy the files you want to reuse from their backup location.

Web Configuration Data

To migrate the web configuration:

1Save the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents from the version 10.3 server.

2Replace the /etc/httpd/ directory and its files on the version 10.3 server with the /etc/ httpd/ directory and its contents that you saved on the former server. Also restore the saved /etc/webperfcache/webperfcache.conf.

3Copy the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents into the restored /etc/httpd/ directory.

4Open Server Admin and make sure that web service isn’t running.

5Open the Terminal application. As the root user, type the 49_webconfigmigrator command:

sudo /System/Library/ServerSetup/MigrationExtras/49_webconfigmigrator

A log of the changes made to the files is created in /Library/Logs/Migration/ webconfigmigrator.log. Original versions of changed files in /etc/httpd are renamed to httpd.conf.obsolete, httpd_macosxserver.conf.obsolete, and mime_macosxserver.types.obsolete. A new httpd.conf file is created.

6In Server Admin, start web service.

Web Content

Copy saved web content to:

/Library/Webserver/Documents/

/Library/Webserver/CGI-Executables

Chapter 3 Migrating From Mac OS X Server Version 10.1

Image 44
Contents Mac OS X Server Migration Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP Migrating in Place From AsipWhat’s Included in This Guide Getting Additional InformationPage Before You Begin Upgrading Versus MigratingMigration Scenarios Migrating Users and GroupsSystem Accounts Here are the predefined user accountsHere is a list of the predefined group accounts Short name Group IDMigrating Data for Managed Mac OS 8 and 9 Users Migrating Other DataAfter Migration Version Understanding What You Can MigrateTo set up See Tools You Can UseMigrating in Place From Version Test the new serverMake a full backup of your current server Web Configuration DataWeb Content FTP Configuration FilesNetBoot Images WebObjects Applications and FrameworksTomcat Data IP FirewallMacintosh Manager Data QuickTime Streaming Server Files and FoldersExport users and groups to another hard disk or partition To export users and groupsTo prepare the server to store home directories Install Mac OS X Server versionSet up the home directory infrastructure To import users and groups using Workgroup Manager Import previously exported users and groupsRestore saved data To migrate the web configurationTo migrate the mail database AFP ConfigurationTo migrate the AFP configuration DNS Configuration IP Firewall ConfigurationTo migrate the IP firewall configuration Dhcp 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 serverMigrating to a New Server From Version Create archive files of data and user export fileExport users and groups Create archive filesAFP DNS To transfer tar files or disk images using FTP Copy archive files to the new serverRelocate saved data files Web Configuration Data Mail Database NetBoot Images Dhcp Settings Set up share points and privileges Version Tools You Can Use Install Mac OS X Server Copy current data to another hard disk or partition AFP QuickTime Streaming Server Files and Folders Import previously exported users and groups Restore saved data MySQL Data AFP Configuration DNS Configuration Migrate Macintosh Manager Information Export user Create archive files AFP DNS Set up the home directory infrastructure Relocate saved data files MySQL Data AFP Configuration IP Firewall Configuration User Data Network services administration guide Tools You Can Use Info to another hard Make a full backup of your current server To prepare data for the migration utility Export user and group informationTo export user and group information Set up the home directory infrastructure Restore saved data To migrate Macintosh Manager data For Move this folder to Old MM Items If login is Migration utility Test the new server Set up share points Export user and group information Create archive files To transfer tar files using FTP Set up the home directory infrastructure Relocate saved data files Set up share points and privileges For Move this folder to Old MM Items Migrating From Mac OS X Server Version If login is Migration utility Test the new server Page Migrating From AppleShare IP Migrating From AppleShare IP Migrating in Place From Asip Check the migrationTo export user information from Asip Provide Internet Aliases if necessaryExport user and group information if necessary To install the new server Prepare to migrate privilegesTo use the AppleShare IP Migration utility Migrating From AppleShare IP Copy data to the new server This directory Place these files Macintosh Manager Macintosh Manager Items Migrating From AppleShare IP If login is Migration utility Test the new server Migrating to a New Server From Asip Provide Internet Aliases if necessary Mount the Asip server on Mac OS X Server To mount the Asip serverCopy the Users & Groups Data File and the mail database To copy these items100 To create home directories for imported users 102 103 104 105