Apple Mac OS X manual Export users and groups

Page 64

64

Step 1: Export users and groups

Use Server Admin to export user and group accounts from a NetInfo directory into an XML file that you can import into a directory for use with Mac OS X Server version 10.4.

To export users and groups:

1Open Server Admin and log in to the server that stores the user and group accounts you want to migrate.

2Click Users & Groups and choose Show Users & Groups.

3Select the users and groups you want to export, then click Export.

When you export users using Server Admin, encrypted passwords are exported. If you want to reset passwords, you can do so using Workgroup Manager, as described in Step 6 on page 68.

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"

Web Configuration Data

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

Web Content

Copy web content you want to reuse from:

Â/Library/WebServer/Documents/

Â/Library/WebServer/CGI-Executables/

ÂAny other location in which it resides

Chapter 6 Migrating From Mac OS X Server Version 10.1

Image 64
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP IndexAbout This Guide What’s in This GuideUsing This Guide Using Onscreen HelpMac OS X Server Suite This guide Tells you how toGetting Documentation Updates Getting Additional InformationServers From Which You Can Upgrade or Migrate Before You BeginMigrating From a Pre-Version 10.4 Server to Version Migrating Users and Groups Migrating From Windows NTUID Here is a list of the predefined group accounts Before You Begin Version Understanding What Can Be ReusedUpgrading an Open Directory Master and Its Replicas To upgrade the master and its replicasStep-by-Step Instructions Update your server to version Perform an upgrade installation to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup To update a WebObjects projectWebObjects Secure Sockets Layer SSL CertificatesTo upgrade a group record Directory ServicesNetBoot Images GroupsPrint Service Open Directory Upgrade LogWeb Service Macintosh ManagerVersion 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 Understanding What You Can Migrate To reestablish the master and its replicasTo set up See Tools You Can UseGroup info User export file To export users and groups Export users and groupsCreate archive files Web Configuration Data Web ContentMySQL Data Mail DatabaseFTP Configuration Files Webmail DataWebObjects Applications and Frameworks Tomcat DataUser Data IP FirewallQuickTime Streaming Server Files and Folders To transfer tar files or disk images using FTP Set up the home directory infrastructureCopy archive files to the new server To prepare the server to store home directoriesTo import users and groups using Workgroup Manager Import users and groups and other dataTo migrate the web configuration Relocate saved data filesTo migrate the mail database AFP Configuration To migrate WebObjectsIP Firewall Configuration To migrate the IP firewall configurationDNS Configuration To migrate the DNS configurationDhcp 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 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 Export user and group information To 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 Export user and group information if necessary Provide Internet Aliases if necessaryTo export user information from Asip Mount the Asip server on Mac OS X Server To mount the Asip serverTo copy this file Copy the Users & Groups Data FileTo use the AppleShare IP Migration utility To import users and groups using Workgroup Manager Copy data to the new server To have users copy mail Migrate mailTo migrate the Asip mail database Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements