beautypg.com

Synchronization options – Google Apps Directory Sync Administration Guide User Manual

Page 136

background image

136

Release 4.0.2

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, check
to be sure that a sync is not already running, connect to both servers, generate a
list of changes, and apply those changes:

sync-cmd -a -o -c [filename]

Replace

[filename]

with the name of the XML file you created in the

Configuration Manager.

Synchronization options

The table below describes the possible arguments to the

sync-cmd

command. You

can also see this information by running the following:

sync-cmd -h

in the directory where GADS is installed.

Option

Values

-o,--oneinstance

Restrict to one instance per config file. Only
valid with -a.

-r,--report-out

Write reports to the specified output file, in
addition to writing them to the log.

-a,--apply

Apply detected changes.

Note:

If you do not use this tag, the

synchronization is a test only and will not affect
your Google Apps account. For best results,
run a test without this flag before running a full
synchronization with this flag.

-V

Display detailed application version
information. Does not synchronize.

-c,--config [filename]

Specify the configuration to load.
Synchronization will not occur without a valid
XML file for this argument.

-d, --deletelimits

Ignores any configured delete limits.

-f, --flush

For support troubleshooting only (slows sync)

WARNING:

This option is intended only to

resolve specific troubleshooting issues.
Improper use can cause performance
degradation. Do not use this option unless
directed by support.