provideBackup
The provideBackup command is available exclusively for the script event ScriptBeforeUpload and is used in combination with the UNC job. The option Upload only when timestamp is different (reduces network load) needs to activated in the UNC job configuration.
This command unzips the last backup in the target directory of the upload.
Syntax:
Example
Function ScriptBeforeUpload
{
provideBackup
call P:vdTestSys3xxDMConSys3xxDMClient.exe
{
arg localhost
arg $vdog::specific->dirbackup
arg $vdog::uploadjob->5002
}
log.copy $vdog::specific->dirbackupBackup.log
done
}
Related Topics
Last update: September 15, 2023