Hi there,
i hust want to make sure, i see Veeam behaviour correctly:
Transaction Log Backup starts when the Backup Job is triggered, not when it's finished.
So, Transaction Log Backup uses the "old" enumeration of databases and only knows about the correct amunt of databases, when the Backup Job finishes.
That results in Veeam rpeorting "Transaction logs from some databases were not backed up for the last X intervals" on every interval until the next Backup Job run is finished. I scrolled through theLogs (LogShipper and Transaction Log Backups), they only contain Info-Lines until they throw an Error at the end of each interval. From what I see, everything is backed up correctly.
Is the correct procedure to run the Backup Job twice when adding or deleting a database to avoid those error reports?
I don't know if i'm being confused, but wouldn't it be easier to let the existing Transaction Job run until the Backup Job is done and then start the new Transaction Job?
Thanks for any input
Thomas
-
- Enthusiast
- Posts: 25
- Liked: 6 times
- Joined: Sep 27, 2016 9:03 am
- Full Name: Thomas Müller
- Contact:
-
- Product Manager
- Posts: 14726
- Liked: 1706 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: SQL Transaction Logs Backup: Databases added / removed
Hi Thomas,
Transaction log backup job run is independent from regular job run state: if primary job is running, transaction log backup may start several times. What's important - transaction log backups made during primary job run rely on previous restore primary job restore point.Transaction Log Backup starts when the Backup Job is triggered, not when it's finished.
You can run primary backup job to update the information about existing databases.Is the correct procedure to run the Backup Job twice when adding or deleting a database to avoid those error reports?
That's how it works now. Transaction log backup intervals are shorter than primary backup job schedule. As a result transaction log backup jobs most likely kicks in after primary job is finished with all DB info up to date. Cheers!wouldn't it be easier to let the existing Transaction Job run until the Backup Job is done and then start the new Transaction Job?
-
- Enthusiast
- Posts: 25
- Liked: 6 times
- Joined: Sep 27, 2016 9:03 am
- Full Name: Thomas Müller
- Contact:
Re: SQL Transaction Logs Backup: Databases added / removed
Hi Dima,
thanks or your reply.
The Transaction Job starts a few seconds after the regular Backup started, not when it ends.
So (at least) the first interval uses the "old" database info, which results in the transaction notifying the admin every interval "Transaction logs from some databases were not backed up for the last X intervals". Once you trigger that BAckup Job a second time, a new Transaction Job starts, which then uses the retrieved DB information from the previous Backup Job.
Sorry if i'm unclear at any point. I'll try to reproduce the behaviour in my lab an get some logs.
Regards
Thomas
thanks or your reply.
Well yes, so far, so good. That's working fine, but:You can run primary backup job to update the information about existing databases.
Have a look again at that:[...] As a result transaction log backup jobs most likely kicks in after primary job is finished with all DB info up to date. Cheers!
The Transaction Job starts a few seconds after the regular Backup started, not when it ends.
So (at least) the first interval uses the "old" database info, which results in the transaction notifying the admin every interval "Transaction logs from some databases were not backed up for the last X intervals". Once you trigger that BAckup Job a second time, a new Transaction Job starts, which then uses the retrieved DB information from the previous Backup Job.
Sorry if i'm unclear at any point. I'll try to reproduce the behaviour in my lab an get some logs.
Regards
Thomas
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: SQL Transaction Logs Backup: Databases added / removed
It's smart enough not to use the old state. The fact that it starts simultaneously with the main job doesn't mean it backs up old data, it sits idle until the new restore point appears.
Who is online
Users browsing this forum: Google [Bot] and 59 guests