Quantcast
Viewing latest article 5
Browse Latest Browse All 12

SQL Server Backup Simulator

In the SQL Server backup world, there are lots of 3rd party applications available that plugs into SQL to back up the databases. The likes of CommVault, IBM Tivoli, Symantec BackupExec, Quest Litespeed, Redgate SQL Backup all uses the sqlvdi.dll to communicate to SQL Server. Lately I have seen backups failing and the following errors are usually logged:

1. [Error Code: [30:322] Description: Failed to initialize for VDI Backup. CCvSQLVDIBase. Initialize() failed.
Check if SQLVDI.DLL is registered]

2. [Error Code: [30:325] Description: Error encountered during backup. Error: [Cannot open backup device '99bd6255-9610-4cfd-b8ff-83fc674cbd47'. Operating system error 0x80070005(error not found). BACKUP DATABASE is terminating abnormally. An exception occurred while executing a Transact-SQL statement or batch.]]

3. [Event ID: 1, SQLVDI: Loc=TriggerAbort. Desc=invoked. ErrorCode=(0). Process=2716. Thread=2148. Server. Instance=MSSQLSERVER. VD=Global\331e46ea-551a-4bb1-b628-5abbeb9fa10f_SQLVDIMemoryName_0.]

This tool is not intended to fix this errors but rather help determine whether the SQLVDI.DLL is registered and functioning correctly and where you need to concentrate your troubleshooting efforts in the events of SQL backup/restore operations failing due to VDI errors.

Requirement:

- Download the installer from the web

Setup Guide:

1. Validate SQLVDI Environment

- Locate the downloaded installer -> Hold down the SHIFT key\Right-click on it installer\Select Run as different user

Image may be NSFW.
Clik here to view.

- Enter the SQL server instance service account\enter password -> click Ok

Image may be NSFW.
Clik here to view.

- Accept the Agreement

Image may be NSFW.
Clik here to view.

- Select the Instance name from the drop-down link -> click Validate VDI installation (Note: the SQL service account must be a member of the sysadmin role in SQL)

Image may be NSFW.
Clik here to view.

- After validation is completed ->Review the validation output and look for the highlighted text below:

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

2. Simulate SQL Backup

- While still on the application screen -> Select Simulate VDI Backup/Restore

- Select the following: Operation: Backup Database\ Database: select the database\ Target Folder: Enter location where the DB will be backed up to\ Compression: Select the type of compression wanted or leave blank if you do not intend to compress the backup file -> click the Go button

Image may be NSFW.
Clik here to view.

- When backup is completed -> Review the out and ensure no error is reported.

Image may be NSFW.
Clik here to view.

- You also have options to Backup Log & Restore Database from the operation drop down list.


Viewing latest article 5
Browse Latest Browse All 12

Trending Articles