Specify Post Backup Configuration for Custom Devices
After you add a new custom device configuration or import a configuration file, you can specify the
Post Backup Configuration
for Custom Devices by specifying the Command
, Arguments (<ARG>)
, Delay
, and Success Return Code
.To specify the Post Backup Configuration for Custom Devices
- Click in theand then clickCommandfield
. The Command Editor - Post Backupdialog box opens. - In theCommand Editor - Post Backupdialog box, click in theProgramfield and then click
to navigate to the application which performs post-backup operations for custom devices. - Use theOpendialog box to navigate to and select an application file, and clickOpen.TIP:
- FactoryTalk AssetCentre supports the following types of application files: *.exe, *.bat, *.vbs, and *.ps1.
- Make sure that the folder location for the application files is C:\Users\Public\RockwellSoftware\AssetCentre.
- In theArgumentssection, select an available argument from the left combo box. Click
, and the selected argument will be added to the right combo box. You can add one or more available arguments from the left combo box to the right combo box. Click OKto close theCommand Editor - Post Backupdialog box.TIP:For the arguments in the right combo box, you can use
to move an argument back to the left combo box, or use
and
to change their sequences. - In theArguments (<ARG>)field, enter a text string, or click
to select a mnemonics from the available mnemonic list. Click OK.TIP:- If theGlobal Argument <ARG>item is not added into the right combo box in theCommand Editor - Post Backupdialog box, this field is not editable.
- Make sure that the folder or file location forArguments (<ARG>)is C:\Users\Public\RockwellSoftware\AssetCentre.
To complete the final command line, you also need to specify the Arguments (<ARD>) for the custom device (if any). - In theDelay (seconds)field, enter an integer from 0 through 3600 as a maximum time duration in seconds for which a post-backup operation is completed. The default setting is 180 (seconds).TIP:If you set the Delay (seconds) to 0, the program delay timeout is disabled, meaning that the FactoryTalk AssetCentre agent will not proceed until the command completes.
- In theSuccess Return Codefield, enter one or multiple integers that are defined as success exit codes in the application script. Only if FactoryTalk AssetCentre receives these codes, it means the backup or backup and compare schedule task performed by the application successfully completed. If not, it means the task failed.Leaving this field blank will always mean the task successfully completed. The information that a schedule succeeded or failed will be recorded in the event log. Use comma but without space to separate multiple integers.
Provide Feedback