Specifications

For more information about these commands, see their man pages and Introduction
to Command-Line Administration. Time Machine isn’t recommended for server le and
system backup of advanced conguration servers.
You can use the launchdctl command to automate data backup using these commands.
For more information about usinglaunchdctl, see Introduction to Command-Line
Administration.
Upgrading Contacts from Directory in Mac OS X Server Version 10.5
If you’ve been using shared contacts in Mac OS X Server version 10.5, you can upgrade
these to use Address Book Server in Mac OS X Server version 10.6.
To use the ContactsMigrator tool:
1 Upgrade your Mac OS X version 10.5 Server to Mac OS X version 10.6.
For more information about the basic upgrade process, see Upgrading and Migrating.
2 Log in to your server and launch Terminal.
3 Run the following command:
/usr/sbin/ContactsMigrator -s /LDAPv3/yourserverName -d http://
yourserverName:8800/addressbooks/groups/mygroup/addressbook/ -u username
-p password
Replace:
 yourserverName with the fully qualied domain name of the Address Book Server
 username with the user name of a system administrator
 password with the password of the system administrator whose user name you entered
For information about ContactsMigrator, see its man page. For information about
command-line tools use, see Introduction to Command-Line Administration.
Deleting Unused Address Books
For reasons related to security, privacy, or disk usage, you may need to delete unused
contacts and address books. After vCard les and folders are created in the data store, they
aren’t removed when a user is removed from the directory. This could cause unintended
service behavior if a user is later created with the same name as the deleted one.
When a user is no longer actively using the address book, you can easily delete the
vCards that correspond to that users’ address books. To do so, manually delete the user
folder from the data store.
If you delete the les for security or privacy reasons, use a secure tool like the Mac OS X
command-line tool srm. For information, see the srm man page.
To delete the les, you need root access to the /Library/AddressBookServer/Documents/
folder and its subfolders.
24 Chapter 2 Setting Up and Managing Address Book Server