Back Up a Domain from the Command Line - Intergraph Smart Instrumentation - 13.1 - Administration & Configuration - Hexagon

Intergraph Smart Instrumentation Administration

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Administration & Configuration
Smart Instrumentation Version
13.1

You can perform a domain backup without using the Administration module options of Smart Instrumentation.  To do so, you need to specify additional parameters.

Parameter String for Backup

Init.exe BKC,<Copy users and departments flag>,<Save last created ID flag>,<Source Domain name>,<path to the target database>

  • You must only use commas as parameter separators.

  • Use upper case for the Y and N flag settings.

The following table describes the parameters in the order of their appearance in the parameter string.

Parameter

Description

Possible Settings

Init.exe

The initial parameter, which allows you to start the database engine.

INIT.EXE

BKC

Stands for the name of the operation

BKC

<Copy users and departments flag>

The Yes/No parameter for copying user and departments definitions from the source domain to the target backup database file.  The software can only copy those users and departments who are assigned to groups.

Y or N

<Save last created ID flag>

The Yes/No parameter for saving the ID of the last item that was created in the domain. Set this parameter to Y (yes) if you later intend to merge items in the Merger utility. Set this parameter to N (no) if you previously backed up the domain and you want to merge data that was modified since this previous backup.

Y or N

<Source Domain name>

The name of the domain that you use as a source for backup.

IN_DEMO

<Path to the target database>

The full path to the folder where the backup seed file is created.

C:\Program Files (x86)\SmartPlant\
Instrumentation\
Backup

Example

Init.exe BKC,Y,N,IN_DEMO,
C:\Program Files (x86)\SmartPlant\Instrumentation\Backup

  • The software records errors that do not let the backup start or minor errors that do not cause the backup process to fail in a log file. This log file is located in the same folder as the backup file and uses the same name as the backup but with the suffix .log.

  • Backups, Domain, .INIT, and so forth can only be made to your local drive. A backup cannot be made to or from a network drive.

See Also

Initialize a Domain from the Command Line