Apple 034-2344 manual Export users and groups, Create archive files

Page 27

Step 1: Export users and groups

Use Workgroup Manager to export user and group accounts from a NetInfo or LDAPv3 directory into a character-delimited file that you can import into a directory for use with Mac OS X Server version 10.3.

To export users and groups:

1In Workgroup Manager, click the Accounts button, then use the At pop-up menu to open the directory from which you want to export accounts.

2Click the lock to authenticate as domain administrator.

3Select the user list to export users or the group list tab to export groups.

4To export all accounts listed, don’t select any of them. To export a specific account, select it. To export multiple accounts, select them while holding down the Command or Shift key.

5Choose Server > Export.

6Specify a name for the export file and the location where you want it created.

7Click Export.

When you export users using Workgroup Manager, password information is not exported. If you want to set passwords, you can modify the export file before you import it or you can set passwords after importing, as described in step 6.

Step 2: Create archive files

Save all the data files that you want to reuse with Mac OS X Server version 10.3. In step 4 you’ll move the files described below, as well as the export file created in step 1, to the version 10.3 computer.

For large amounts of data, you may want to create one or more tar archives or use /usr/bin/mkdmg to create disk image files. Both disk images and tar files can be transferred using FTP.

To create a tar archive, use the tar command in the Terminal application. The command’s -cflag creates a new archive file in tar format. Use the -fflag to identify the archive file name. Use the -v(verbose) flag to view useful information as the command executes:

tar -cvf /MyHFSVolume/MM.tar /MyHFSVolume/Macintosh\ Manager

The escape character (\ in the example above) indicates a space in the name. You can also use quotation marks to handle embedded spaces:

tar -cvf /MyHFSVolume/MM.tar "/MyHFSVolume/Macintosh Manager"

Web Configuration Data

Save the directory /etc/httpd/ and all its contents. Also save the file /etc/webperfcache/ webperfcache.conf.

Chapter 2 Migrating From Mac OS X Server Version 10.2

27

Image 27
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 partitionInstall Mac OS X Server version Set up the home directory infrastructureTo 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 dataAFP Configuration To migrate the AFP configurationTo migrate the mail database IP Firewall Configuration To migrate the 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 AsipProvide Internet Aliases if necessary Export user and group information 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