eazyBackup Knowledge Base
HomeLoginSupportContact
  • eazyBackup Knowledge Base
  • Guides
    • Getting Started Guide
    • Creating Protected Items
    • How to Backup Windows Network Shares and UNC Paths
    • How to Restore Files and Folders
    • Disk Image Backup Guide
    • Disk Image Backup Restore Guide
    • How to backup to a local storage vault (External or Internal Hard Drive)
    • Microsoft 365 Cloud Backup Guide
    • Microsoft 365 Cloud Backup Restore
    • Seed Load Walkthrough
    • eazyBackup Control Panel
    • Delete backup snapshots to reduce Storage Vault size
    • Kroll Pharmacy Management Database Backup
    • How to Backup Dentrix Database to the Cloud
    • How to Backup Patterson Eaglesoft Dental Software
    • Hyper-V Virtual Machine Backup Walkthrough
    • Storage Vault Usage Report
    • Linux Installation Guide (Debian, Ubuntu)
    • Two-Factor Authentication for Backup Accounts
    • Securing your Backup against Ransomware
    • How to move a backup to a new computer
  • Documentation
    • Add and Rename Storage Vaults
    • Available Storage Locations
    • How to Run Manual Backup
    • Backing up Windows Network Shares and UNC Paths
    • Browse Job History
    • Cancel a Running Backup Job
    • Commands
    • Backup Report Email Address
    • Custom Email Reports
    • Deleting a Protected Item
    • Disk Image Backup
    • eazyBackup Software Structure
    • Error “Access to the cloud file is denied” backing up OneDrive
    • Retention Concept
    • Confirm EFS keys are Exported (Windows EFS)
    • Data Encryption – Understanding Our AES-256 Encryption & Key Management
    • eazyBackup Chunking Overview
    • eazyBackup Chunking and Deduplication
    • Storage Vaults
    • Re-scan Unchanged Files
    • Required URLs and Ports for eazyBackup
    • Setting up a New Backup Account (license) in My Dashboard
    • Before and After Commands
    • eazyBackup Hotfix Install
    • Default File / Folder Exclusions From Backup
    • Restore from Deleted Protected Item
    • Random Job Delay – Protected Item Schedule
    • Copy a Protected Item Configuration to New Device
    • Manage Vaults on Protected Items – Add/Remove/Update
    • How to Remove a Registered Device
    • Retention Configuration and Cleanup
    • macOS Installation
    • Windows Installation
    • Linux (Other Distribution)
    • Linux (Red Hat Enterprise Linux (RHEL), CentOS)
    • Linux NAS (Synology, QNAP)
    • “Application-Aware Writer” Backups
    • “Microsoft Exchange Server” Backup
    • “Microsoft Hyper-V” Backup
    • “Microsoft SQL Server” Backup
    • “MySQL” Backup
    • “Program Output” items
    • “Windows Server System State” Backup
    • “Windows System Backup”
    • Silent installation for RMM (Windows advanced)
    • Microsoft 365 Backup
    • VMware vSphere Backup
  • Troubleshooting
    • Cannot proceed – another task needs to finish using the Storage Vault first
    • Change of hardware causes registration dialog to appear
    • Diagnosing Slow Backup Jobs
    • Error “EFS-encrypted files may be unusable once restored”
    • Error “Media is write protected” backing up OneDrive with VSS
    • Error “operation not permitted” macOS
    • Error “The target path ‘X:\WindowsImageBackup’ already exists – please safely remove this direct...
    • Error backing up item exit status 3 Couldn’t create virtual device set: Unknown error 0x80770005
    • Found packs in index but not appearing on disk. Reindex needed
    • Inactive / Abandoned “Running” Jobs
    • Lost connection to local service
    • Lstat: CreateFile \\?\UNC\ backup: Access is denied.
    • Mount path conflict: Can’t mount path inside real directory
    • OneDrive error “The tag present in the reparse point buffer is invalid”
    • Out of memory
    • Shared Memory Provider: Could not open a connection to SQL Server
    • VSS Error: Device is not ready
    • VSS Error: Couldn’t take snapshot. The shadow copy provider had an unexpected error while trying ...
    • Windows Backup encountered an error when writing data to the backup target.
    • Error “Access is denied” when backing up files and folders on Windows
    • Error “local error: tls: record overflow”
    • Microsoft SQL Server backup encountered a VDI error
    • Network Connectivity Errors
    • How to Locate All EFS Encrypted Files for Windows 10 and Server
    • Couldn’t save folder details: fs.TempFile: Access is denied
    • Couldn’t save Office 365 data for account – The requested user is invalid
    • WARNING Data error (cyclic redundancy check) occurred inside byte range
    • Set-Disk : Access Denied During Disk Image Backup
    • The System State encountered a problem: exit status 0xfffffffc
    • Runtime: VirtualAlloc of xx bytes failed with errno=1455 fatal error: out of memory
    • Disk Image Backup – Checking if device is ready: DeviceIoControl: The request could not be performed
    • Checking if device xx is ready: DeviceIoControl: The request failed due to a fatal device hardware..
    • x509 Certificate has expired or is not yet valid
    • Couldn’t load tree/xyz for subdirectory: tree/xyz not present in any index
    • Optimizing snapshot: not present in any index
    • Reading subdirectories of – Open: /Files/Documents/ operation not permitted
    • file truncated (expected xxxx bytes, got 0)
    • WARNING: Node (xxxx) filename.ext’ collision at position xxxx
    • How to easily find disks with read / write errors in Windows
    • Multiple connections to a server or shared resource error
    • Application failed to start because no Qt platform plugin could be initialized
    • OneDrive The cloud operation is not supported on a read-only volume
    • Hyper-V Error: Backing up exit status 1 (skipping)
  • FAQs
    • Account Devices and Billing
    • How can I restore my files to a new computer?
    • How to reset a backup account password
    • Can’t login to eazyBackup – Login information doesn’t work
    • Cloud Storage and Online Backup Service for Protected Health Information
    • How to cancel your eazyBackup subscription
  • eazyBackup Rebranding
    • Backup Client and Control Panel Branding
    • White Label Email Configuration
  • e3 Object Storage
    • e3 Object Storage Pricing FAQs
    • Manage Billing
    • Delete Account
    • How to configure QNAP Hybrid Backup Sync to S3 Compatible Object Storage
    • How to Use Arq Backup with eazyBackup e3 Object Storage
    • How to use Synology Hyper Backup with eazyBackup e3 Object Storage
    • How to use Duplicati with eazyBackup e3 Object Storage
    • How to use rclone with eazyBackup e3 S3 Compatible Object Storage
Powered by GitBook
On this page
  • Authentication
  • Multiple instances
  • Backup mode
  • Base images
  • Differential
  • Log
  • Recommendations
  • Alternative ways to back up Microsoft SQL Server

Was this helpful?

  1. Documentation

“Microsoft SQL Server” Backup

Previous“Microsoft Hyper-V” BackupNext“MySQL” Backup

Last updated 11 months ago

Was this helpful?

This Protected Item type backs up a Microsoft SQL Server database. The underlying technology is VDI and is compatible with SQL Server 2005 and later.

No data is spooled to the local disk. As per the "Program Output" type, no progress bar or ETA appears during a Microsoft SQL Server backup.

Databases are backed up one-at-a-time. If you require point-in-time consistency across multiple databases, please use the "Application-Aware Writer" option instead.

Connection details

As you setup the new MSSQL protected item, connection details should be supplied before selecting databases. eazyBackup will only connect to SQL Server running on the local machine. You must enter the instance name, or leave the field blank to use the default instance.

Address

The address is always localhost, but eazyBackup does not use TCP addresses or TCP ports to connect to SQL Server instances. eazyBackup uses "Shared Memory" to connect to SQL Server instances.

eazyBackup's use of "Shared Memory" connection does improves performance for some operations, at the expense of only working on the local machine; but eazyBackup's use of VDI requires it to run against the local machine anyway.

If you encounter issues connecting to your SQL Server, you must ensure that "Shared Memory protocol" is enabled in SQL Server Configuration Manager.

Open Sql Server Configuration Manager -> SQL Server Network Configuration -> Protocols -> Shared Memory -> Enable

Driver

OLE DB and ODBC are data access methods that use pluggable "drivers" / "providers" for connecting to databases like SQL Server. The following drivers for OLE DB / ODBC support SQL Server:

Driver

TLS 1.2 Support

Notes

MSOLEDBSQL

Yes

SQLNCLI11

Yes

SQLNCLI10

No

Included with SQL Server 2008

SQLNCLI

No

Included with SQL Server 2005

SQLOLEDB

No

Included with SQL Server (all versions); Included with Windows since XP / Server 2003

eazyBackup has been upgraded over time to support trying additional drivers:

eazyBackup Version

Preferred driver

Fallback driver(s)

>= 18.9.6, >= 18.8.6

MSOLEDBSQL

SQLNCLI11, SQLOLEDB

You can list your installed drivers

  • for ODBC, via the odbcad32.exe program > "Drivers" tab; or

Authentication

eazyBackup allows you to connect to SQL Server using either Windows authentication (running as the backup service account - usually NT SERVICE\backup.delegate or SYSTEM), or native SQL Server authentication.

  • If you are using Windows Authentication, the connection occurs as the backup service account.

    • You can assign this Windows user account to have sysadmin rights within SQL Server.

  • If you are using SQL Server authentication, you must enter a valid username and password to connect to SQL Server.

Impersonation is not currently available for Windows authentication. Future versions of eazyBackup will support impersonation for Windows authentication.

Multiple instances

eazyBackup supports backing up multiple instances from SQL Server. You can select an instance for backup, by entering the instance name in the "Instance Name" field. Leave this field blank to use the default instance.

eazyBackup Backup automatically lists available instances for selection in the drop-down menu.

Backup mode

By default, eazyBackup opts to make a full database export from SQL Server, and then uses its own deduplication system to optimise the stored/uploaded data.

This is the "Full (copy only)" option. It is equivalent to the BACKUP WITH COPY_ONLY T-SQL statement.

Because eazyBackup can efficiently deduplicate full image backups, it is normally sufficient to only take full backups of SQL Server in eazyBackup.

Base images

You have the option to use SQL Server's own differential/log backup system. This may be more efficient, but it does require additional administrative work, and complicates the process of restoring data.

The SQL Server maintains one single point-in-time reference, from which it can produce differential backups and/or log-based backups. When you take a new "Full (base image)" backup, the point-in-time reference is moved forward, so that any future differential and/or log-based backups are based on the last base-image backup.

To use SQL Server's own differential/log backup system, you must create multiple Protected Items (each with a different schedule) in order to capture both a base image and a differential/log backups. By creating multiple Protected Items, you can individually schedule, report-on, and manage retention policies for both base and differential/log backups.

If you are using eazyBackup alongside another product for SQL server backups, you should ensure that only one product is taking base-image backups. Otherwise, it's possible that a chain of differential/log backups would be incomplete.

Differential

eazyBackup can use SQL Server's own systems for differential backup. In this mode, you can regularly make "differential base" backups, and then a series of small "differential increment" backups, each containing the difference from the last base backup. These operations are equivalent to the BACKUP and BACKUP WITH DIFFERENTIAL T-SQL statements respectively. eazyBackup will still deduplicate multiple base backups that are sent to the same Storage Vault.

This is the "Differential increment" option.

Log

You can opt to use SQL Server's own systems for log backup. In this mode, you must periodically take full (base image) backups, and regularly take log backups.

You have the choice of whether to apply log truncation. These operations are equivalent to the BACKUP LOG and BACKUP LOG WITH NO_TRUNCATE T-SQL statements respectively. eazyBackup will still deduplicate all data that is sent to the same Storage Vault.

To use SQL Server's own log system, you must create multiple Protected Items (each with a different schedule) in order to capture both full and log backups.

Recommendations

In general, we would recommend using the default "Full" backup technique.

SQL Server's native differential/log systems may be used if you experience performance issues with the default mode, however, you must ensure that

  1. No other backup systems are resetting the last base backup;

  2. Whenever the differential/log backs up successfully, that the base has also recently backed up successfully;

  3. Base backups are performed regularly to minimise differential overhead; and

  4. Retention is carefully managed to ensure that recovery is possible

Alternative ways to back up Microsoft SQL Server

You can use the "Application-Aware Writer" type to back up SQL Server using the VSS Writer. Compared to eazyBackup's standard VDI approach, this option enables more detailed progress information, and can take a consistent point-in-time snapshot of multiple databases at once; but offers more limited control over SQL Server features such as log truncation. The resulting files also must be restored in a different way.

You can use eazyBackup's "Commands" feature to call osql/sqlcmd to run a T-SQL BACKUP statement against the database, and then back up the resulting spooled file with the "Files and Folders" type. This option requires more temporary disk space than the built-in system above.

You can use the "Files and Folders" type to back up individual database files if the "Take filesystem snapshot" option is selected. However, the "Files and Folders" backup type does not invoke SQL Server's VSS writer, so this would (at best) produce a "crash-consistent" backup and is not recommended.


Included with SQL Server 2016 and 2017; Optional download from

Included with SQL Server 2012 and 2014; Optional download from

for OLE DB, via .

This mode requires that the database Recovery Model is set to "Full" or "Bulk Logged" in SQL Server. For more information, please see: .

this PowerShell snippet
https://msdn.microsoft.com/en-us/library/ms189275.aspx
eazyBackup
https://www.microsoft.com/en-us/download/details.aspx?id=56730
https://www.microsoft.com/en-us/download/details.aspx?id=50402