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

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