Specifications
Chapter 2 Setting Up and Managing Address Book Server 23
Maintaining Address Book Server
The following sections contain information to help you keep Address Book Server
working smoothly:
“ Â Understanding Address Book Server Conguration Files” on page 23
“ Â Backing Up and Restoring Address Books” on page 23
“ Â Upgrading Contacts from Directory in Mac OS X Server Version 10.5” on page 24
“ Â Deleting Unused Address Books” on page 24
Understanding Address Book Server Conguration Files
You should administer Address Book Server using Server Admin or the serveradmin
tool. Server Admin and serveradmin both look at the same conguration les, which
are used to run Address Book Server:
/etc/carddavd/carddavd.plist: The main conguration le for carddavd
It’s an XML property list of server options, which provides information such as the port
to bind to and whether to use SSL.
/var/log/carddavd/access.log: The server’s main log le
/var/run/carddavd.pid: The server’s process ID le
/var/run/carddavd-pydir.sock: Internal implementation le
/var/run/carddavd-stats.sock: Internal implementation le
/var/run/carddavd.sock: Internal implementation le
/usr/share/carddavd: Implementation and support les
Backing Up and Restoring Address Books
In addition to backing up the conguration les listed in “Understanding Address
Book Server Conguration Files” on page 23, you should back up the data store. The
location of the data store is shown in the Settings tab of the Address Book Server
administration pane of Server Admin.
Because Address Book Server les are at les, you can use any backup procedure.
You should maintain the original les’ POSIX permissions and ACL entries. Your backup
solution must preserve extended attributes. Your backup software needs root access to
the /Library/AddressBookServer/Documents/ folder and its subfolders.
Mac OS X Server provides several command-line tools for data backup and restoration:
 rsync—Use to keep a backup copy of your data in sync with the original. The rsync
tool copies only les that have changed, but it always copies all extended attributes.
 ditto—Use to perform full le-level backups.
 asr—Use to back up and restore an entire volume at disk block-level.