Apple Mac OS X manual Export users and groups, To export users and groups, Create archive files

Page 35

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.4.

To export users and groups:

1In Workgroup Manager, click Accounts, then click the globe icon below the toolbar and choose the directory from which you want to export accounts.

2Click the lock to authenticate as domain administrator.

3Click the Users button to export users or the Groups button to export groups.

4To export all accounts listed, select all 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 to assign to the export file and the location where you want it created.

7Click Export.

When you export users using Workgroup Manager, password information isn’t 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 on page 40.

Step 2: Create archive files

Save all the data files that you want to reuse with Mac OS X Server version 10.4. In Step 4 you’ll move the files described below, as well as the export file created in Step 1, to the version 10.4 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. Note that tar doesn’t preserve resource forks on HFS+ volumes, so it’s useful only for UFS volumes.

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/Stuff.tar /MyHFSVolume/My\ Stuff

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/Stuff.tar "/MyHFSVolume/My Stuff"

Chapter 4 Migrating From Mac OS X Server Version 10.3

35

Image 35
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 Secure Sockets Layer SSL Certificates Make Adjustments as needed after initial server setupTo update a WebObjects project WebObjectsGroups To upgrade a group recordDirectory Services NetBoot ImagesMacintosh Manager Print ServiceOpen Directory Upgrade Log Web ServiceVersion 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 Mail Database Web Configuration DataWeb Content MySQL DataTomcat Data FTP Configuration FilesWebmail Data WebObjects Applications and FrameworksQuickTime Streaming Server Files and Folders IP FirewallUser Data To prepare the server to store home directories To transfer tar files or disk images using FTPSet up the home directory infrastructure Copy archive files to the new serverImport 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 Dhcp configuration DNS ConfigurationTo migrate the DNS configuration Dhcp SettingsTo test the new server Set up share points and privilegesTo create a share point and set privileges 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