CARIS HPD : Database Administration : Database Configuration : Upgrade Schema : Batch File
 

Batch File

Schemas can be upgraded using the upgradehpddatabase.bat file in C:\ProgramData\CARIS\HPD\<version>\Server\upgrade.

You should always back up your existing schema before upgrading.

The batch file uses parameters in a specific order. See below.

C:\ProgramData\CARIS\HPD\<version>\Server\upgrade>upgradehpddatabase.bat SchemaName ConnectString

See the following table.

Parameter

Description

SchemaName

The name of the schema is also the person with administrator rights over the schema.

ConnectString

The database where the schema is located.

To run the batch file:

1. Open Command Prompt.

2. Navigate to C:\ProgramData\CARIS\HPD\<version>\Server\upgrade.

3. Type upgradehpddatabase.bat. and parameters in the order shown above.

4. Press <Enter>

You are prompted for the schema owner password.

5. Type the password.

6. Press <Enter>.

The schema is updated. You are notified when the process is complete.

7. To complete the process, press <Enter>.