Solved

Full backups with differential of sql databases not performing properly

Posted on 2011-03-25
13
1,380 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

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
 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

839 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