Synchronization, About synchronization, Command line synchronization – Google Apps Directory Sync for Postini Services Administration Guide User Manual
Page 66: Chapter 6: synchronization

Chapter 6
Synchronization
69
Synchronization
Chapter 6
About Synchronization
Run the synchronization command to push your LDAP directory server user
information to the message security service.
The directory sync utility uses the command sync-cmd to run synchronization.
This simple command line interface gives you the flexibility to incorporate
synchronization into any scheduling or batch script you wish to use.
Before you can synchronize the message security service with your LDAP
directory server, you must create rules that detail how to connect to both servers,
and what filters and rules to use. These rules are stored in an XML file. To create
this XML file, run Configuration Manager. For more information about
Configuration Manager, see “Configuration” on page 27.
Most administrators run their first synchronization manually to test the process,
import an initial set of users, and confirm the changes. After initial synchronization
with the command line, you can set up automatic scheduling for future
synchronization.
Command Line Synchronization
Before you can run synchronization, create a Configuration XML file using the
Configuration Manager user interface. For more information, see For more
information about Configuration Manager, see “Configuration” on page 27.
The command line to use for all platforms is
sync-cmd
Run without any arguments, this command gives an error and directs you to run
sync-cmd -h
for help.
To synchronize, use the following command line to read a configuration file,
connect to both servers, generate a list of changes, and apply those changes:
sync-cmd -a -c [filename]