<< Click to Display Table of Contents >>

Navigation:  Using SyncBackPro > Expert Mode >


Previous pageReturn to chapter overviewNext page


This profile settings page can use and create shared settings.


Variables are strings that are replaced by something else when the profile is run. For example, you may want to backup to a folder that has the current date in its name. To do this you would use the variable %DATE%, e.g. set the destination to X:\Backup\%DATE%\. This section has more details on what variables are available.


As well as Windows environment variables, SyncBack variables, and getting values from the registry, you can also define your own variables. Those variables can reference other variables. For example, you could create a variable called THEDATETIME and set it to The current date is %DATE% and the time is %TIME%


The variables defined for a profile are only available to that profile. If you define a variable in a group profile then it is available to all profiles in that group. However, group level variables are only available to the non-group profiles in the group, i.e. they do not cascade to the profiles in sub-groups. If a profile has a variable with the same name as one in its parent group then the profile variables value will replace the group variables value, i.e. profile variables take precedence. This setup window will also highlight this by showing the variables in red. As well as this, the log file will also tell you which profile variables are replacing group variables (if at all).


In SyncBackPro sbpro-feature-16x16, this setup window also displays any variables that are defined by scripts that are run as part of the profile.


To add a variable simply click the Add button. You then enter a unique name for the variable, e.g. MyVariable, and then enter a value (the value can use variables itself). Do not use percentage signs around the variables name, e.g. use VarName instead of %VarName%.



All Content: 2BrightSparks Pte Ltd © 2003-2021