SQL Transaction Log Backup status on a job displays the following warning:
Failed to prepare guest for SQL transaction log backup Details: <Other Job> is responsible for SQL transaction logs backup
This issue can also occur for Oracle SQL Archived Log Backup, and will display the following warning:
Cannot delete Oracle archived logs because job <job_name> is active
Veeam Backup & Replication is designed only to allow one Backup Job to be responsible for a server's log backup. This is done to prevent possible restore issues. To prevent another job from attempting to take over the log backup process, there is a 7 day timeout in which the job currently responsible for the log backup must not run.
Note Regarding SQL Always On availability groups
When backing up an Always On availability group's nodes it is best practice to have all the nodes in the same job.
Veeam Backup & Replication will display the warning related to this KB if it detects that the server being backed up is part of a SQL Always On group and another node in that group is already being processed by SQL Transaction Log Backup.
If the job throwing the warning is notintended to manage the server's log backup operations, edit the backup job and disable the log backup function for that VM.
If you are migrating the responsibility of log backup from one job to another job, disable log backup in the old job and then review the three options below:
Option 1: Wait
Wait for the 7-day timeout to pass and the new job will then be able to backup the logs. The timer will start from the last day the VM was processed by the old job.
Option 2: Change The Timeout
Change the TimeOut to a lower setting with the following registry values on the Veeam Backup Server. *No Reboot required.
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\ Value Name: SqlBackupLogsAgeDaysToSkipLogBackup Value Type: DWORD (32-bit) Value Value Data Default: 7
Where 'x' is the number of days.
Note: Log truncate will be skipped for a VM if there are SQL logs of this VM collected in the last X day (defined in the registry as value SqlBackupLogsAgeDaysToSkipTruncate/default is 7) by another existing job.
Option 3: Delete all Log Backups created by the Old Job
Note: This option will remove all transaction/archive logs for the SQL /Oracle VMs in that backup set that were collected after the most recent restore point was created. You will still have point-in-time restores for all restore points leading up to the most recent backup.
To submit feedback regarding this article, please click this link: Send Article Feedback To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.
Spelling error in text
Your feedback has been received and will be reviewed.