Command line for running the HMI Server Backup and Restore utility
Run the HMI Server Backup and Restore utility from the command line to back up or restore an HMI server without requiring a user to be logged on to Windows. This allows the utility to run as a Windows service.
Command line syntax
HMIBackupRestore.exe [/b | /B] {BackupParameterFilePath} | [/r | /R] {RestoreParameterFilePath}
where:
- /bor/Bindicates that the HMI server will be backed up.
- {BackupParameterFilePath}is the path and file name of the backup parameter file, for example,C:\HMIBackup\HMIBackup.cfg.
- /ror/Rindicates that the HMI server will be restored.
- {RestoreParameterFilePath}is the path and file name of the restore parameter file, for example,C:\HMIBackup\HMIRestore.cfg.
If the applicable *.cfg file is located in a different folder than the
HMIBackupRestore.exe
file, the command must include the full path to the *.cfg file. For example, if the *.cfg file is at the root of C:\
, type HMIBackupRestore.exe /b C:\HMIBackup.cfg
.When running the HMI Server Backup and Restore utility from the command line to restore an HMI project, a project folder with the same name must already exist in the HMI Projects folder on the target machine. In addition, the target project folder must also contain an *.sed file with the same name.
Example: Back up the HMI server
HMIBackupRestore.exe /b C:\HMIBackup\HMIBackup.cfg
Example: Restore the HMI server
HMIBackupRestore.exe /r C:\HMIBackup\HMIRestore.cfg
Provide Feedback