Batch Preview and Merge

The new Batch Site Merging script has been written in JavaScript, and consists of the following components:

All these files are located in $DovetailAgent\scripts\merge folder.

To run the script, execute a command:

CScript mergeSitesBatchJob.wsf [option...] parameters

where 'option' is any CScript option.

The parameters include:

The only required parameter is: /directory:<dir>. It points the merge script to a folder which:

Use /user:<user> and /password:<password> parameters to override those in fc.env file.

Examples:

preview-only run, use fc.env file for all database connection parameters

CScript mergeSitesBatchJob.wsf /directory:my_path\my_directory

preview-only run, use fc.env file for database connection parameters, provide new user credentials

CScript mergeSitesBatchJob.wsf /directory:my_path\my_directory /user:<user> /password:<password>

merge run, use fc.env file for all database connection parameters

CScript mergeSitesBatchJob.wsf /directory:my_path\my_directory /merge:true

merge run, use fc.env file for all database connection parameters, merge specific master site only

CScript mergeSitesBatchJob.wsf /directory:my_path\my_directory /merge:true /master:<objid>

a sample fc.env file is provided in the $DovetailAgent\scripts\merge folder.

See Also

Merge Sites

Merge Site Workflow

Mark Sites for Merge Form

Working With Merge Sites Form

Site Merge Process Performance

Next

Site Merge Process Performance

Batch Preview and Merge