Using Command Line Options

Use the following command statement to back up and restore the Pooling settings and User Role information.

ABSComPlusMigrator.exe [-B|-R] [-S (Com Application name)|-N] 
[-X (xml file path)] [-L (log file path)]

Note: You can find the ABSComPlusMigrator.exe in the AB Suite Runtime installer, CD Runtime\Windows Runtime\Runtime Utilities.

Where:

Syntax

Description

-B

To back up the properties of ComApplication

-R

To restore the properties of ComApplication

-S (Com Application name)

To specify the AB Suite generated ComApplication name

-N

To specify AB Suite's Runtime ComApplications.

-X (xml file path)

The name of the Xml File path (Fully qualified path)

-L (log file path)

The name of the log file (Fully qualified path - Optional; if not specified, log file with name ABSComMigrator.log is created in the location “Data\public\log”)

/? or -Help

Lists Help details

Examples for using command line options

This section provides examples on using the command statement.

ExamplesCommand StatementDescription

To back up ABSuite Generated System's ComApplication, SAMPLECLR

ABSComPlusMigrator.exe -B -S SAMPLECLR -X “c:\SampleClrBackup.xm” -L “c:\SampleClrBackup.log”

  • SAMPLECLR: Generated Com Application name

  • c:\SampleClrBackup.xml: Fully qualified xml file path.

  • c:\SampleClrBackup.log: Fully qualified log file path (optional).

To back up ABSuite's Runtime ComApplications

ABSComPlusMigrator.exe -B -N -X “c:\NGENComApplicationsBa ckup.xml” -L “c:\NGENComApplicationsBa ckup.log”

  • c:\NGENComApplicationsBa ckup.xml: Fully qualified xml file path

  • c:\NGENComApplicationsBa ckup.log: Fully qualified log file path (optional).

To restore ABSuite Generated System's ComApplication, SAMPLECLR

ABSComPlusMigrator.exe -R -S SAMPLECLR -X “c:\SampleClrBackup.xml” -L “c:\SampleClrRestore.log”

  • SAMPLECLR: Generated Com Application name

  • c:\SampleClrBackup.xml: Fully qualified xml file path.

  • c:\SampleClrRestore.log: Fully qualified log file path (optional)

Note: One backup file settings (Pooling settings, Activation settings, and User Role settings) can be applied only to one AB Suite application.

To restore ABSuite's Runtime ComApplications

ABSComPlusMigrator.exe -R -N X”c:\NGENComApplicationsB ackup.xml” -L “ c:\NGENComApplicationsRes tore.log”

  • c:\NGENComApplicationsBa ckup.xml: Fully qualified xml file path.

  • c:\NGENComApplicationsBa ckup.xml: Fully qualified xml file path.

To restore properties of ComApplication, SAMPLECLR to ComApplication, CHOCSYSCLR

ABSComPlusMigrator.exe -R -S CHOCSYSCLR -X “c:\SampleClrBackup.xml” -L “c:\ChocsysClrBackup.log”

  • CHOCSYSCLR: Com Application name

  • c:\SampleClrBackup.xml: Fully qualified xml file path

  • c:\ChocsysClrBackup.log : Fully qualified log file path (optional)