44
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 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 8: Restore saved data
Copy the files you want to reuse from their backup location.
Web Configuration Data
To migrate the web configuration:
1Save the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents from the version 10.3 server.
2Replace the /etc/httpd/ directory and its files on the version 10.3 server with the /etc/ httpd/ directory and its contents that you saved on the former server. Also restore the saved /etc/webperfcache/webperfcache.conf.
3Copy the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents into the restored /etc/httpd/ directory.
4Open Server Admin and make sure that web service isn’t running.
5Open the Terminal application. As the root user, type the 49_webconfigmigrator command:
sudo /System/Library/ServerSetup/MigrationExtras/49_webconfigmigrator
A log of the changes made to the files is created in /Library/Logs/Migration/ webconfigmigrator.log. Original versions of changed files in /etc/httpd are renamed to httpd.conf.obsolete, httpd_macosxserver.conf.obsolete, and mime_macosxserver.types.obsolete. A new httpd.conf file is created.
6In Server Admin, start web service.
Web Content
Copy saved web content to:
•/Library/Webserver/Documents/
•
Chapter 3 Migrating From Mac OS X Server Version 10.1