A Backup or Backup Copy job using an Immutable Hardened Linux Repository displays the warning:
A problem occurred during setting the immutable flag: repository time shift detected, immutability flag cannot be set. Please refer to KB4482 for more details
This warning is displayed when a time shift has been detected within the Linux OS of the Hardened Linux Repository.
Timeshift detection was implemented to prevent the restore point immutability state from being manipulated. However, this system could also be triggered by user-caused timeshifts such as:
Explanation
When the immutable service starts on the Linux machine backing the Hardened Repository, a timeLog file is created in the directory /etc/veeam/immureposvc/. Every 10 minutes, the current UTC time (systemTime) and HW time (hwTime) are written to the timeLog file. Each time timeLog is updated, the difference between the current and previous value is calculated and added to a parameter named moveTime. This allows the software to detect if a time shift has occurred. If the moveTime value exceeds 86400 seconds (24 hours), an immutable file named retainLock is created containing information about the changed time. The presence of the retainLock file blocks the immutable service from changing the immutability state of backup files, both existing and new.
After confirming that the timeshift was expected and that the current time is correct, the retainLock can be removed manually to allow the software to return to updating the immutable status of backup data.
retainLock Removal Procedure
The TimeShift detection feature is configurable by creating the file /etc/veeam/immureposvc/config
and setting parameters as desired.
The config file must be created with permissions 600 and belong to the root user.
Available Parameters:
Example default config file formatting:
<TimeDefenderConfig disableCheck="0" checkHwTime="1" maxDeltaValueInSec="86400" />
After creating or modifying the config file, the veeamtransport service must be restarted.
Note: The config file overrides the hardcoded defaults; if it is not present or not configured as documented, the defaults will be used.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case