AfterRestoreBackup¶
Script applications that are called by this interface are used to influence the restoration of a version from a backup.
Procedure¶
- A target directory is handled.
- The restoration is performed.
- The AfterRestoreBackup interface is called and the associated script application is started.
- The restoration is completed.
If BeforeRestoreBackup is executed successfully, AfterRestoreBackup is also executed, regardless of whether an error has occurred up to. If BeforeRestoreBackup is executed with an error, AfterRestoreBackup is not executed. If AfterRestoreBackup fails, the original state will not be restored.
Command lines for this script application¶
Without agents:
ScriptAfterRestoreBackup.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the server archive] /at:s
When using agents:
ScriptAfterRestoreBackup.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the agent archive] /at:s
Description of the interface file¶
The [Common], [User], [Component], [ExclusiveUse] and [Result] sections are described in General sections of the interface file.
Section Specific¶
In the [Specific] section, the following keys can be configurated:
Key | I/O | Description |
---|---|---|
WorkingDir | I | Full path of the working directory of the component |
DestinationDir | I | Full path of the destination directory of the restoration process |
PathSourceBackup | I | Full path of the backup (ZIP file) to be restored |
DeviceEquivalent | I | Element that corresponded to the device in the offline project. This key can also be empty or contain * (for UNC, Local, FTP). |