Skip to main content

How can we help you?

Druva Documentation

User Guide - Preparing your environment for successful Druva MS-SQL Database Restore

One-stop solution

This document provides a clear, step-by-step guide that focuses on how to prepare and configure restore of MS-SQL databases. Follow these instructions to effectively manage your restore using Druva MS-SQL Server Agent

Purpose

 

Prepare the environment for Druva MS-SQL Server Agent to have successful restore of MS-SQL databases

 ►1. What is a MS-SQL server?
  • It is a powerful and popular database system used by many organizations for managing and storing their data.
  • SQL Server provides a secure, scalable, and reliable platform for data storage, retrieval, and manipulation.
 ►2. What are RPs ( Recovery Points) in MS-SQL server?
  • An RP (Recovery Point) is the cumulative data stored on the Druva cloud, arranged by the date of backup.
  • When you select any RP for restore, it is capable of a full restore.
  • RPs are created only for backup with states - Successful & Successful with Errors,  NOT for Failed, skipped, Queued, or canceled.
  • Availability of the RP depends upon retention set in the backup policy .
 ►3. Where can RPs (Recovery Points) be viewed for MS-SQL databases?
  • Management Console - select your organization - Protect - MS SQL Servers -SQL backupset - Check the square box besides the backupset name - Click on Restore button
    2023-07-30 20_42_36-New _ Public _ Phoenix _ SQL _ Preparing your environment for successful SQL ser.png
  • Once Click on Restore
    undefined
 ►4. What are the Types of RP (Recovery Points) ?
  • The RP’s are differentiated based on where it has been stored.  
  • There are 3 type of RPs: For more detailed information on RP's (Click Here)
    • Hot recovery point
    • Warm recovery point
    • Cold recovery point
 ►5. How can MS-SQL Databases be restored?
  • Druva supports three types of restores for MS-SQL server:
    • Recovery point Restore
    • Point in Time Restore
    • Transaction Mark
  • Point in Time restores and Transaction Mark restores are performed using MS-SQL transaction logs
 ►6. What is the Restore Workflow for MS-SQL databases?
 ►7. What are the prerequisites for a successful restore?
  • Verify the pre-checks before performing the restore job.
  • Connection
    • Verify the connection between the server and Druva.
      (Use command prompt or powershell)
  • Service
    • The service “Hybrid Workloads agent” should be in Running mode.  
      (start-run-services.msc)
  • UI Status
    • The status of the target MS-SQL server on Druva console should show as “Connected”. 
      2023-06-08 02_09_00-Druva Hybrid Workloads-connected.png
  • Anti-Virus
    • Druva executables should be added to the exclusions of Anti-virus. 
      (If not done, the anti-virus keeps the .exe on HOLD and the restore will stay in Queued state)
  • VSS Writers and Provider
    • In case you have a hardware provider, you can change it for restore.
    • (once the setting is in place, Druva will use this provider for restore)
    • VSS writers should be stable. Verify the same in command prompt (Admin mode)
      vssadmin list writers
    • You can set VSS to write shadow copies to a separate NTFS volume, in case you want to change the snapshot volume, where data is snapshot temporary.
  • Operating System checks
    • Check the available disk space on the target server.
 ►8. How to perform a MS-SQL server database restore?
  • Management Console - select your organization - Protect - MS SQL Servers -SQL backupset - Check the square box besides the backupset name - Click on Restore
    2023-07-30 20_50_58-New _ Public _ Phoenix _ SQL _ Preparing your environment for successful SQL ser.png
  • Select the type of restore you need to perform
    2023-07-30 20_51_11-New _ Public _ Phoenix _ SQL _ Preparing your environment for successful SQL ser.png
  • Step-by-step instructions to restore
►9. Most common SQL server restore issues?