get path of backup-file(a,b,c)
Group |
Returns the path for the name of a backup file a. Parameter b specifies if the path should the actual backup file resides in or if the basis path of the profile's backup directory should be returned. It is also possible to get the path of a backup file from a different profile, by adding the profile name in parameter c.
Description of Parameters
Parameter |
Description |
a |
Name of the backup file of a profile job. Note: See system variable VAR_SYS_BACKUP. |
b |
(optional) true if the basis path should be returned. Default: false. Note: If parameter multipleBackupSubDirs is set to false, parameter b has no effect, since the returned paths are identical. If that is the case, it should be considered though which variant is needed, otherwise, there will be unwanted effects if the setting is changed at a later point in time. |
c |
(optional) Name of the profile. Default: This profile. |
Examples
Parameter a (parameter type Variable) |
Parameter b |
Parameter c |
Result |
VAR_SYS_BACKUP |
true |
|
./datawizard/backup/-776cb03f_18378a8954f_a20.f68fbd61d7e6ed94_-776cb03f_18377b2e96b_-8000 |
VAR_SYS_BACKUP |
false |
|
./datawizard/backup/-776cb03f_18378a8954f_a20.f68fbd61d7e6ed94_-776cb03f_18377b2e96b_-8000/150000 |
You can use the following function chain to read the content of the backup file of the current profile. Note: This also works for a restart of the profile.
Mapping Test
In a mapping test this function does not return a result for the current run, because there is no backup (and also no job number)! Alternatively, you can use the function load current backup data(a) to read the 'backup file' (which then is the used test file).