reference:scripting_reference:scripting_events:onconfigrestore

The OnConfigRestore event can be implemented by a script add-in to receive notification when the Opus configuration is being restored from a backup.

Method Name: OnConfigRestore

Argument Type:

ConfigRestoreData 

Return Type:

none

Description:

The ConfigRestoreData.location property identifies the staging folder that the Opus configuration is being restored from. You can make changes to files in this folder before returning, and any modifications you make will be imported into the current configuration.