Comprehensive data protection for all workloads
Post Reply
bob.baird.xedo
Enthusiast
Posts: 30
Liked: 2 times
Joined: Feb 13, 2013 12:20 pm
Full Name: Bob Baird
Contact:

Exclude SQL Server Databases

Post by bob.baird.xedo »

Hi All,

We have a SQL Server VM that uses RedGate SQL Backup Pro to backup the databases (they get saved to a NAS we have on our LAN).

I also backup the VM using Veeam B&R.

My question is whether there is any way I can prevent B&R from actually saving the database files (.mdf & .ldf) as I already have a copy of these on our NAS.

We are moving away from Symantec Backup Exec, but that was a feature that was available with this product i.e. you could specify specific databases that you didn't want saved to tape.

I can't see any way with Veeam to do this, other than by excluding an entire disk.

Can anyone help at all?


Thanks,
Bob
Vitaliy S.
VP, Product Management
Posts: 27110
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude SQL Server Databases

Post by Vitaliy S. »

Hello Bob,

Veeam B&R in an image based backup solution, and you cannot exclude specific files (except for swap file) from the backup. As a workaround you may want to place your databases files on the separate disk and then exclude it from the backup job.

Thank you!
bob.baird.xedo
Enthusiast
Posts: 30
Liked: 2 times
Joined: Feb 13, 2013 12:20 pm
Full Name: Bob Baird
Contact:

Re: Exclude SQL Server Databases

Post by bob.baird.xedo »

Okay, thanks for clearing that up.

As it happens, we do tend to have our .mdf & .ldf stored on separate disks, so that may work okay.

Just as a mater of interest, how would the restore of the VM handle the fact that it had been backed up without a number of disks that are actually on the live VM?
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Exclude SQL Server Databases

Post by veremin »

Hi, Bob.

There is an option in exclusion settings called “Remove excluded disk from VM configuration”. As long as it’s ticked, there wouldn’t be any issues during restore.

Thanks.
bob.baird.xedo
Enthusiast
Posts: 30
Liked: 2 times
Joined: Feb 13, 2013 12:20 pm
Full Name: Bob Baird
Contact:

Re: Exclude SQL Server Databases

Post by bob.baird.xedo »

Okay, thanks for your help.
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Exclude SQL Server Databases

Post by veremin »

You’re welcome. Should any additional help be needed, feel free to contact us. Thanks.
mdc
Lurker
Posts: 1
Liked: never
Joined: May 14, 2014 3:34 am
Contact:

[MERGED] File Level Exclusions

Post by mdc »

Is there still no option to exclude file types, eg MDF or LDF in the latest versions of Veeam backup and replication??
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Exclude SQL Server Databases

Post by foggy »

Yes, nothing has changed in this sense.
pllove
Novice
Posts: 7
Liked: never
Joined: May 24, 2013 3:45 pm
Full Name: Patrick Loveless
Contact:

Re: Exclude SQL Server Databases

Post by pllove »

Can we use the DB Exclusion option outlined in KB1051 to exclude db's? Our dba's have db's in standby mode that are generating errors when veeam try's to back them up. We would like to be able to exclude them without excluding the drive.
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Exclude SQL Server Databases

Post by foggy »

The registry setting mentioned in this article does not entirely exclude databases from backup, but excludes them from the actual VSS freeze process (they are still backed up, though without VSS).
thomas23
Novice
Posts: 4
Liked: never
Joined: Jan 15, 2015 10:12 am
Contact:

[MERGED] MS SQL Backup | select databases?

Post by thomas23 »

Hi,
with veeam8 we will go to backup our databases with veeam and we will use the transactionlog-backup feature.
So far so good. Is there a way to select which database are included in this backup? There are some test-databases which is not necessary to backup.

Thank you
thomas
Vitaliy S.
VP, Product Management
Posts: 27110
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude SQL Server Databases

Post by Vitaliy S. »

This is not possible, however you may want to use a workaround that is mentioned above to skip these databases from the backup.
edgonz
Influencer
Posts: 22
Liked: 2 times
Joined: Mar 30, 2015 6:55 pm
Full Name: Ed
Contact:

[MERGED] Exclude SQL Databases from backup

Post by edgonz »

I think I found the answer to my question - how to exclude some sql databases from Veeam backup - from this link (http://forums.veeam.com/veeam-backup-re ... 17452.html ), but since this is a link from 2013 I wanted to know if this still holds true in Veeam's current release.

Thanks!
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Exclude SQL Server Databases

Post by foggy »

Ed, the last response in this thread is dated this year, so yes, this is still the case with the current release.
edgonz
Influencer
Posts: 22
Liked: 2 times
Joined: Mar 30, 2015 6:55 pm
Full Name: Ed
Contact:

Re: Exclude SQL Server Databases

Post by edgonz »

foggy wrote:Ed, the last response in this thread is dated this year, so yes, this is still the case with the current release.
Hah! You're right, I din't notice the date of the OP, thanks! :)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 81 guests