CMS Infrastructure Services - Environment Profile - Information - Export and Import Environment Profile through Command Line

Purpose

Export and Import Environment Profile through Command Line

Applicable in CAST Version

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x
7.3.x
7.2.x
7.0.x

Applicable RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2
CSS1

Details

To export Environment Profile through command line,run the command :

C:\Program Files (x86)\CAST\7.3/EPManager.exe -DATABASE(CASTStorageService) -CONNECT_STRING(‘LIBPQ:CSS2SUP:2280,postgres’,‘operator’,’*****’’,‘cb733_1328_prt_sup_local’) -LOG(‘C:\Users\PRT\AppData\Local\Temp\CAST\CAST\7.3\Environment ProfileManager8969428009256151659_CMS.castlog’,USELOGFILE) -EXPORT

To import Environment Profile through command line,run the command :

C:\7.3.3_flat/EPManager.exe -DATABASE(CASTStorageService) -CONNECT_STRING(‘LIBPQ:CSS2SUP:2280,postgres’,‘operator’,’*****’,‘cb733_1328_prt_sup_local’) -LOG(‘C:\Users\PRT\AppData\Local\Temp\CAST\CAST\7.3\Environment Profile Manager8969428009256151659_CMS.castlog’,USELOGFILE) -IMPORT

The format is:

C:\Program Files (x86)\CAST\7.3 **->**Location of CAST

EPManager.exe -DATABASE(CASTStorageService) ->Command

-CONNECT_STRING(‘LIBPQ:CSS2SUP:2280,postgres’,‘operator’,’*****’,‘cb733_1328_prt_sup_local’) **->**Connection string(‘Server name with port’,‘username’,‘password’,’local base name’)

LOG(‘C:\Users\PRT\AppData\Local\Temp\CAST\CAST\7.3\Environment Profile ProfileManager8969428009256151659_CMS.castlog’,USELOGFILE) -EXPORT **->**LOG(’location of log file’,USELOGFILE) -EXPORT

LOG(‘C:\Users\PRT\AppData\Local\Temp\CAST\CAST\7.3\Environment Profile ProfileManager8969428009256151659_CMS.castlog’,USELOGFILE) -IMPORT**->**LOG(’location of log file’,USELOGFILE) -IMPORT

Notes/comments

Related Pages

Zendesk-1658