Running Backups from the Command Line - Intergraph Smart Engineering Manager - 12 - Help - Hexagon

Intergraph Smart Engineering Manager Help

Language
English
Product
Intergraph Smart Engineering Manager
Search by Category
Help
Smart Engineering Manager Version
12

You can run backups from the command line using the spabackup.exe program, which is delivered to the ..\Engineering Manager\bin folder during installation.

Parameter

Argument

Description

Debug level (Optional)

-d [DbgLevel]

The debug level defaults to 0 if you do not specify a debug level (0-3). If used, this argument must be the first argument in the command line call.

Control file

-c

Creates a control file that contains all the information needed to complete the backup process. Only the Debug argument (-d [DbgLevel]) can be used with this argument.

You must use this argument with scheduled backups because the control file contains the minimal information needed to initiate the backup.

Site server INI file (Optional)

-s

Specifies the site server .ini file path. If you do not use -s, the backup process uses the site INI path found in the SmartPlantManager.ini file. If you use both the -s and -p arguments, the -s argument must precede -p.

Include reference item name and reference data

-p [RItemName]

Includes the RItemName and reference data if you do not use the -NoRefData argument. Can be used as the first, second, or third argument.

Exclude reference data (Optional)

-NoRefData

This parameter is valid only when used with the -p [RItemName] argument. If this argument is used, the backup will not include any reference data.

Backup Type

1-5

1 — Site

2 — Non-workshare plant structure

3 — Host plant structures

4 — Satellite plant structures

5 — Plant with Projects

Version

<version number>

Indicates the major release of the product, for example: 6.01. This parameter is used by the software during the restore process to determine whether the backup is compatible with the version of the software the user is attempting to restore.

BackupAllPlants

1 or 2

1 — Backs up site only

2 — Backs up all plants

Example Plant Backup Command Line Calls

spabackup.exe -d -s C:\temp\SmartPlantV4.ini -p PlantName

spabackup.exe -s C:\temp\SmartPlantV4.ini -p PlantName - NoRefData

spabackup.exe -p PlantName -NoRefData

spabackup.exe -p PlantName

Example Site Backup Command Line Calls

spabackup.exe -d -s C:\temp\SmartPlantV4.ini

spabackup.exe -s C:\temp\SmartPlantV4.ini