We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Backup

Protecting Microsoft SQL

  • Last updated on

Barracuda Backup is capable of using two different methods to protect Microsoft SQL databases; Microsoft Virtual Device Interface (VDI) and Microsoft Volume Shadow Copy Service (VSS). Due to recommendations by Microsoft and backup and recovery options, Barracuda recommends using VDI to perform Microsoft SQL backups.

Understanding VDI and VSS

By default, backups are configured for VDI or VSS depending on which version of Microsoft SQL Server is installed. For Microsoft SQL Server 2008 and 2008 R2, Barracuda Backup is configured to use VDI by default to perform database backups. With VDI, Barracuda Backup performs full (complete) and incremental database backups.

For Microsoft SQL Server 2012 and higher, Barracuda Backup is configured to use Microsoft VSS by default to perform the database backups. With Microsoft VSS, Barracuda Backup performs full (complete) and differential database backups.

Unless you have a specific need or requirement to perform differential backups, configure the Barracuda Backup Agent to perform VDI backups, even for Microsoft SQL 2012 and higher.

Enable VDI Backup on Microsoft SQL Server 2012 and Higher

Due to recommendations by Microsoft and backup and recovery options, Barracuda recommends using VDI to perform backups of Microsoft SQL.

For Microsoft SQL Server 2012 and higher, Barracuda Backup uses Microsoft VSS by default to perform the database backups. With Microsoft VSS, Barracuda Backup performs full and differential database backups. Unless you have a specific need or requirement to perform VSS or differential backups, enable VDI which provides the ability to perform incremental backups, by configuring the Barracuda Backup Agent for Windows.

Perform the following steps to edit the Barracuda Backup Agent installed on the Microsoft SQL Server to use the VDI backup method:

  1. On the Microsoft SQL Server where the Barracuda Backup Agent is installed, open the Services console.
  2. Right-click on the Service Barracuda Backup Agent, and click Stop. The Service is now stopped.
  3. Open the config.ini file in Notepad as an administrator; the default file location is:
    C:/Program Files/Barracuda/Barracuda Backup Agent/config/config.ini
  4. Set vssSqlVersion=20 under the configuration section in the file. For example:

    [installControl]
    buildNumber=89742
    installedVersion=6.3.00-dbg

    [configuration]
    nodeGuid={00001001-B0C179DB-B0C179DB-B0C179DC}
    vssSqlVersion=20

  5. Save and close the file.
  6. Open Services once again.
  7. Right-click on the Service Barracuda Backup Agent, and click Start. The Status field should display as Started.
  8. Once the service is restarted, go to the data source schedule.
  9. Select the parent object that includes the new container for SQL, or, if you are not backing up the entire parent object, clear Microsoft SQL and select Microsoft SQL Server:
    SQLUpdateSchedule.png

SQL Recovery Models

When using VDI to back up Microsoft SQL, configure the SQL Recovery Model to use the Full Recovery Model. In the Full Recovery Model, SQL keeps transaction logs, which enable Barracuda Backup to perform full and incremental backups.

If the Microsoft SQL Server databases in your environment are configured to use the Simple Recovery Model, transaction logs are not kept, which prevents Barracuda Backup from performing incremental backups. This results in Barracuda Backup attempting to perform an incremental backup, and, unable to do so, reverting to a full (complete) backup. A warning is included in the backup report about the database being configured for Simple Recovery Model.

Microsoft SQL Server Database Backup

When installed on a Microsoft SQL Server, the Barracuda Backup Agent for Windows automatically detects the presence of Microsoft SQL based on the SQL VSS Writers. When adding an SQL Server as a data source to Barracuda Backup, a Microsoft SQL container item is present, allowing you to back up the entire SQL instance or individual databases.

Use the following steps to configure an Exchange data source:

  1. Log in to Barracuda Backup and select the associated Barracuda Backup device in the left pane.
  2. Install the Barracuda Backup Agent on the Exchange Server. The Agent is available on the System > Software Downloads page.
  3. Go to the Backup > Sources page, and click Add a Computer.
  4. Complete the following information on the Add a Computer page:
    1. Computer description
    2. Computer name
  5. In the Computer type drop-down menu, select Microsoft Windows.
  6. Once the SQL data source is configured, click Save.
  7. The Add Data Source page displays. Finish configuring the backup schedule name, the offsite replication destination, and click Save.
  8. Once the data source is configured, the Schedules page displays. For more information on backup scheduling, see Backup Scheduling.
Last updated on