Variables, Incremental

<< Click to Display Table of Contents >>

Navigation:  Using SyncBackPro > Expert Mode >

Variables, Incremental

 

An automatically incrementing variable is a special variable (%AUTOINC%) that has a range of values and is incremented automatically by SyncBack. The value of the variable is incremented by 1 at the end of each profile run. If it goes above a value you define then it is reset to the minimum value, which you can also define.

 

For example, you want to keep 11 backups:

 

oSet your destination to X:\Backup\%AUTOINC%\

oSet the Current value to 1

oSet the Minimum value to 1

oSet the Maximum value to 11

oLeave the Increment if... checkboxes unchecked

 

With the above example, each time the profile is run the files are copied to a different directory. For the first run the files are copied to X:\Backup\1\. On the next run it is X:\Backup\2\. After the profile copies files to X:\Backup\11\ it will be reset back to 1 for the next run.

 

The %AUTOINC% variable can be used with Fast Backups, making it easy to create incremental or differential backups, for example, that keep exactly the number of backups you require.

 

Automatically incrementing variables are not available in groups.

 

Enable the auto-incrementing variable (%AUTOINC%): If this option is enabled then the %AUTOINC% automatically incrementing variable can be used by this profile and will be managed by SyncBack. If you do not enable this option then the %AUTOINC% variable will not be expanded.

 

Current value: This is the current value of the variable. It cannot be less than the minimum value or greater than the maximum value.

 

Minimum value: This is the minimum value of the variable. Once the variable goes above the maximum value it is reset back to this minimum value. The minimum value cannot be less than zero or greater than the maximum value.

 

Maximum value: This is the maximum value of the variable. Once the variable goes above the maximum value it is reset back to the minimum value. The maximum value cannot be less than the minimum value or greater than 2,147,483,646

 

Increment if restore: If this option is enabled, then the variable is incremented even if the profile is run as a restore. This option is not enabled by default.

 

Increment if simulated run: If this option is enabled, then the variable is incremented even if the profile is run as a simulation. This option is not enabled by default.

 

Increment if profile is aborted: If this option is enabled, then the variable is incremented even if the profile run is aborted. This option is not enabled by default.

 

 

 

All Content: 2BrightSparks Pte Ltd © 2003-2024