Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

How to exclude MS SQL Databases from SQL Log backup

$
0
0

Challenge

It is necessary to exclude specific databases on one or multiple Microsoft SQL Server instances from Veeam SQL Log backup processing. 
 

Solution

In Veeam Backup & Replication 8.x and 9.x, registry keys need to be created, specifying which combination of Instance/DB to exclude 
 
All keys need to be created inside "HKEY_LOCAL_MACHINE\SOFTWARE\VeeaM\Veeam Backup and Replication", on the server Veeam Backup and Replication is installed on.

SqlBackupInstanceDatabaseDelimiter
         Type: REG_SZ
         value: ":"

SqlBackupInstanceDatabasePairsDelimiter
         Type: REG_SZ
         value: ";"

SqlBackupDatabasesToSkip
         Type: REG_SZ
         value: "mysqlserver_instance:mydb;mysqlserver_instance:mydb2"


To exclude SQL databases from SQL logs backups, list databases and instances as following, with multiple combinations possible:  
sql_intance_name:db_name - skip everything containing specified instance and db name 
sql_instance_name: - skip all databases on this instance 
:db_name - skip all databases with this name, on all instances 
 

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>