Apple 034-2344 manual Import previously exported users and groups, Relocate saved data files

Page 31

5If you’ll restore home directories in locations that won’t exactly match the locations identified in exported user records, you can define a preset that identifies the restore location. If you identify the preset when you import users, the new location will replace the existing location in user records.

You can also use the preset to specify other default settings you want imported users to inherit, such as password settings, mail settings, and so forth.

Step 6: Import previously exported users and groups

You can use Workgroup Manager or the dsimport tool to import users and groups. See the command-line administration guide for dsimport instructions and a description of the export file format.

To import users and groups using Workgroup Manager:

1Place the export file(s) you created in step 1 in a location accessible from your server.

2You can modify user accounts in an export file if you want to set passwords before importing users.

Alternatively, you can set up the preset you defined in step 5 so that user passwords are validated using Open Directory authentication and set up the password validation options so that users are forced to change their passwords the next time they log in.

3In Workgroup Manager, click the Accounts button.

4Click the globe icon in the toolbar to open the directory into which you want to import accounts.

5Click the lock to authenticate as domain administrator.

6Choose Server > Import, select the import file, and specify import options.

If you’re importing user accounts and using a preset, make sure you identify the preset.

7Click Import.

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 7: Relocate saved data files

Place the files you saved from your version 10.2 server in their final locations.

Chapter 2 Migrating From Mac OS X Server Version 10.2

31

Image 31
Contents Mac OS X Server Migration Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating in Place From Asip Migrating From AppleShare IPGetting Additional Information What’s Included in This GuidePage Upgrading Versus Migrating Before You BeginMigrating Users and Groups Migration ScenariosHere are the predefined user accounts System AccountsShort name Group ID Here is a list of the predefined group accountsMigrating Other Data Migrating Data for Managed Mac OS 8 and 9 UsersAfter Migration Understanding What You Can Migrate VersionTools You Can Use To set up SeeTest the new server Migrating in Place From VersionFTP Configuration Files Make a full backup of your current serverWeb Configuration Data Web ContentIP Firewall NetBoot ImagesWebObjects Applications and Frameworks Tomcat DataTo export users and groups Macintosh Manager DataQuickTime Streaming Server Files and Folders Export users and groups to another hard disk or partitionSet up the home directory infrastructure Install Mac OS X Server versionTo prepare the server to store home directories Import previously exported users and groups To import users and groups using Workgroup ManagerTo migrate the web configuration Restore saved dataTo migrate the AFP configuration AFP ConfigurationTo migrate the mail database To migrate the IP firewall configuration IP Firewall ConfigurationDNS Configuration To migrate the Dhcp configuration Dhcp SettingsTo test the new server Set up share points and privilegesTo create a share point and set privileges Test the new serverCreate archive files of data and user export file Migrating to a New Server From VersionCreate archive files Export users and groupsAFP DNS Copy archive files to the new server To transfer tar files or disk images using FTPRelocate 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 Export user and group information To prepare data for the migration utilityTo 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 Check the migration Migrating in Place From AsipExport user and group information if necessary Provide Internet Aliases if necessaryTo export user information from Asip Prepare to migrate privileges To install the new serverTo 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 To mount the Asip server Mount the Asip server on Mac OS X ServerTo copy these items Copy the Users & Groups Data File and the mail database100 To create home directories for imported users 102 103 104 105