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
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
7.2.x(tick)
7.0.x(error)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
CSS1(error)
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