Work with Data Stores from the Command Line
Important: You do not have the latest version of Historian! You are missing out on the newest capabilities and enhanced security. For information on all the latest features, see the Historian product page. For more information on upgrades, contact your GE Digital sales agent or e-mail GE Digital Sales Support. For the most up-to-date documentation, go here.
Using the Command Line to Work with Data Stores
Creating a Data Store
To create a new data store, run the following:
ihConfigManager_x64.exe CreateDataStore DataStoreName [StoreType: Historical = 0, Scada = 1]
[DefaultStore: NotADefault=0, Default = 1] ["OptionalDataStoreDescription"]
Where
DataStoreName
is the name of the data store you want to create.Deleting a Data Store
To delete an existing data store, run the following:
ihConfigManager_x64.exe DeleteDataStore MyStore [NoConfirm]
Where:
- MyStore is the name of the data store you want to delete, and
- NoConfirm allows you delete a data store without a validation message appearing.CAUTION:Exercise extreme care in using the NoConfirm option, as it will delete an entire data store without a prompt. This is sometimes helpful in scripting, but it is a dangerous option otherwise.
Examples
- Example 1: Create a new historical data store, but do not change my default data store
-
C:\Program Files\Proficy\Historian\x64\Server\ihConfigManager_x64.exe CreateDataStore MyStore 0 0
- Example 2: Create a new historical data store and make it a default data store
-
C:\Program Files\Proficy\Historian\x64\Server\ihConfigManager_x64.exe CreateDataStore MyStore 0 1 "This is my default historical store"
- Example 3: Delete a data store, and display a validation message after it is removed
-
C:\Program Files\Proficy\Historian\x64\Server\ihConfigManager_x64.exe DeleteDataStore MyStore
- Example 4: Delete a data store, but suppress any validation messages
-
C:\Program Files\Proficy\Historian\x64\Server\ihConfigManager_x64.exe DeleteDataStore MyStore NoConfirm