1-800-691-1991 | 9am - 8pm ET
EN

SQL Transaction Log Backup - Failed to prepare guest for SQL transaction log backup Details: is responsible for SQL transaction logs backup

KB ID: 2029
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10a, Veeam Backup & Replication 9.5, Veeam Backup & Replication 9.0, Veeam Backup & Replication 8.0
Published: 2015-04-27
Last Modified: 2021-04-01

Challenge

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

Cause

Veeam Backup & Replication is designed to only allow one Backup Job to be responsible for a SQL servers log backup. This is done to prevent possible restore issues. In order to prevent another job from attempting to take over the SQL log backup process there is a 7 day timeout in which the job currently responsible for the SQL 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.

Further reading on this topic:

Solution

If the job displaying this warning is not intended to be the primary SQL log backup job, disable the transaction log backup for that VM within that job.

 

 

Else if the job displaying this warning is intended to be backing up the SQL transaction logs, after disabling transaction log backup for the VM in the other job, the following three options are available:

Option 1: Wait

Wait the 7 day timeout. 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 keys on the server where Veeam Backup & Replication is installed. Reboot is not required, changes are detected instantly.

Location: HKLM\SOFTWARE\Veeam\Veeam Backup & Replication\
DWORD: SqlBackupLogsAgeDaysToSkipLogBackup
Value: x

Location: HKLM\SOFTWARE\Veeam\Veeam Backup & Replication\
DWORD: SqlBackupLogsAgeDaysToSkipTruncate
Value: x

Where is x is the number of days.

Log truncate will be skipped for a VM if there are SQL logs of this VM collected last X day (defined in the registry as value SqlBackupLogsAgeDaysToSkipTruncate/default is 7) by another existing job.

SQL log backup will be skipped for a VM if there are SQL logs of this VM collected last X day (defined in the registry as value SqlBackupLogsAgeDaysToSkipLogBackup/default is 7) by another existed job.

 

Option 3: Force removal of all SQL Transaction Log Backups from the Old Job

As a forceful workaround you Force Veeam to not consider the old job by expanding the old backup set and removing the transaction logs from the job. Doing so will remove all transaction logs for the SQL 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. 

User-added image

 

KB ID: 2029
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10a, Veeam Backup & Replication 9.5, Veeam Backup & Replication 9.0, Veeam Backup & Replication 8.0
Published: 2015-04-27
Last Modified: 2021-04-01

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later
Knowledge base content request
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.