Solved

Full backups with differential of sql databases not performing properly

Posted on 2011-03-25
13
1,376 Views
Last Modified: 2012-05-11
Greetings,
 VMware 4.0, SQL 2008, Backup Exec 2010 R2
This is what is happening: I run my full backup of the sql database on Saturday morning. Right after that I backup the virtual machine (the vmdk file) which from what is happening is triggering again another full backup of the sql database. So when my differential runs on Monday I get the following error:
'The Backup Exec SQL Agent was not used to create the last full, differential, or log backup of this database. You must use the SQL Agent to run a full backup before you can run a differential backup or transaction log backup.'
What it's boiled down to is the Backup Exec SQL agent does the full but then the VM causes a full too (I think) making the SQL agent think on Monday that something else has taken a backup. I have confirmed with the SQL guy that no other backups or maintenance plans are running on the database server. This also NEVER happened when I was using Backup Exec 12.5.
I could change the selection order in Backup Exec to have the SQL full backup go AFTER the VM is backed up but then it seems like overkill. Not sure what to do. I do have a ticket in with Symantec but we've been playing phone tag for a few days now so I'd see if anyone else had this problem.

Thanks all,
BW

P.S. What happened to the Backup Exec zone? Couldn't find it to add it.
0
Comment
Question by:bwinkworth
  • 7
  • 6
13 Comments
 
LVL 7

Expert Comment

by:lundnak
ID: 35215128
Could you check your SQL Server error log and see if you seeing a log entry for the SQL Full Backup at the time that the vmdk backup is occurring?
0
 

Author Comment

by:bwinkworth
ID: 35215760
I checked the logs. It shows @ around 12:25am that Backup Exec is backing up the sql databases with the message of 'Database backed up. Then @ 12:30am it starts with another message stating:
'I/O is frozen on database <databasename>' then
'I/O was resumed on database <databasename>'
The jobs don't over lap. It only takes Backup Exec about a minute to back them all up and then the VM gets backed up a few minutes later but it seems like it's resetting the databases somehow and messing up my differential on Monday-Thursday

Thanks,
BW
0
 
LVL 7

Expert Comment

by:lundnak
ID: 35215858
This is a stretch, but is the Backup Exec job configured to do a Copy-Only full backup?  Do you transaction log backups have the same issue as the differential backups?
0
 

Author Comment

by:bwinkworth
ID: 35215890
Ah I looked a little farther in the logs and found that while the VM is being backed up there are a bunch of database entries that state:
'Database backed up. Database <databasename>, creation date.......blah blah blah device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {big long number} This is an informational message only. No user action is required'
So the VM is backing up the databases. But in the settings of the backup job on the vmware settings I have disabled GRT for sql databases.
What a pain
0
 

Author Comment

by:bwinkworth
ID: 35215936
The settings for the vmware stuff is set to 'Full' (that's the only setting there is)
See picture

Thanks lundnak
backup-settings.JPG
0
 
LVL 7

Accepted Solution

by:
lundnak earned 400 total points
ID: 35215944
Sounds like GRT is the problem.  Unfortunately, this will probably need a Symantec Support person to fix it.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:bwinkworth
ID: 35215962
Ok that's what I thought. I'll let ya know how it goes. The guy is supposed to be calling me today
Thanks again
BW
0
 
LVL 7

Expert Comment

by:lundnak
ID: 35215966
Check out this article.
Did you click the Edit button to look at the individual application items?
0
 

Author Comment

by:bwinkworth
ID: 35216002
Can't see the article in your post :)
0
 
LVL 7

Expert Comment

by:lundnak
ID: 35216113
0
 

Author Comment

by:bwinkworth
ID: 35216207
Ah thanks. Yes I've got that all disabled. Just weird that I can't be the only one having this problem lol. I've googled for hours
Oh well I'll see what the symantec guy says. I'll keep you posted.

BW
0
 

Author Closing Comment

by:bwinkworth
ID: 35231765
Symantec's answer was to change the resource order so that the VM is backed up first and then have the sql full backup run right after it which is what I had done on Friday myself. But I had another failure on the weekend about my 2nd tape not being an LTO4 type tape so it quit lol. Yes it is an LTO4 because I've used it before.
Anyway thanks for the help fella.

BW
0
 
LVL 7

Expert Comment

by:lundnak
ID: 35232109
Unfortunately, that is not a great solution.  It seems like Backup Exec shouldn't backup the SQL Server if it isn't checked.

Any way, glad that it is working now.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CHAP for iscsi 4 35
encyps queries mssql 15 27
Contained Database Collations 6 20
Auditing in Azure SQL Database 3 28
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now