SlideShare a Scribd company logo
Lesser Known
          facts of SQL
          Server Backup
GO BIG!   Amit Banerjee
          and Restore
          www.troubleshootingsql.com
          http://twitter.com/banerjeeamit
About Me
                     SQL Server
                     Escalation
                      Services
                                     Community Speaker
 Premier Field                        @ SQL Saturday |
                         SQL
Engineer based                       Virtual Tech Days |
                    Nexus, Backup
out of Bangalore                           Tech Ed
                   Simulator, SQLD
                         IAG
  6 years as         Configuration
     MSFT              Manager
Agenda
Backup/
Restore   Planning Demystify




           #TechEdIn | @banerjeeamit
Types
Backup/Restore can be done in three different ways

        Native                            VSS             VDI
        T-SQL                     Volume Shadow       Virtual Device
      commands                        Service            Interface




                 T-SQL                     Snapshot 3rd Party Tools
Native
T-SQL commands
Native Backup and Restore
Backup/ Restore
Database
•   Full                        Piecemeal
•   T-Log                        Options
•   Differential
•   File/Filegroup




                     Backup Options
VSS
Volume Shadow
Service
VSS – Volume Shadow
Service
DEMO
VDI
Virtual Device
Interface
VDI – Virtual Device Interface
    SQLVDI       Types of Backup

     APIs             Full

 Device Config        Log

                  Differential

                 File/Filegroup
DEMO
Planning
Planning
   Document/   RPO/RT
    Dry Run      O




      VLDB
               Automate
     options
Demystify
Demystifying
Some unknowns that are worth knowing!!!


                 BUFFERCOU                MAXTRANSFERSIZ
                 NT                             E
I/O is frozen on database
msdb. No user action is
required.
I/O was resumed on database               Full backup
msdb. No user action is                   doesn’t break
required.                                 backup chain!
DEMO
Thank you for time and
    patience! Hope you had as
    much fun as I did in
    presenting the same!

Contact Details
  facebook.com/TroubleshootingSQL
  http://twitter.com/banerjeeamit
  http://twitter.com/TblShootingSQL
  www.troubleshootingsql.com
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or
may be registered trademarks and/or trademarks in the US and/or other countries. The information herein is for informational purposes
                   only and represents the current view of Microsoft Corporation as of the date of this presentation.
   Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of
       Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
      MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
                                                          PRESENTATION.
Resources
        Developers          Infrastructure Professionals




 http://msdn.microsoft.co   http://technet.micorsoft.com/
            m/

                @msdnindi        technetindia   @technetindia
    msdnindia   a
Ad

Recommended

Introduction to yzs code generator
Introduction to yzs code generator
YZSolution, Inc.
 
New Features in Windows Azure
New Features in Windows Azure
IT Weekend
 
18666613 backup-and-restore-en-sql-server-2008-express-edition
18666613 backup-and-restore-en-sql-server-2008-express-edition
Mariuxi Jimbo Salinas
 
Pdb my sql backup london percona live 2012
Pdb my sql backup london percona live 2012
Pythian
 
SQL Server Database Backup and Restore Plan
SQL Server Database Backup and Restore Plan
Hamid J. Fard
 
Tutorial backup sql server
Tutorial backup sql server
malih murtadho
 
How to backup sql
How to backup sql
Mahesh Gupta (DBATAG) - SQL Server Consultant
 
SQL Server Backup and Restore
SQL Server Backup and Restore
Kesavan Munuswamy
 
Ebook10
Ebook10
kaashiv1
 
Sql interview question part 10
Sql interview question part 10
kaashiv1
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Technet France
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Décideurs IT
 
Electric Microservices Land - Tsuyoshi Ushio
Electric Microservices Land - Tsuyoshi Ushio
DevDay Da Nang
 
Sql interview-question-part-9
Sql interview-question-part-9
kaashiv1
 
Sql interview question part 9
Sql interview question part 9
kaashiv1
 
Ebook9
Ebook9
kaashiv1
 
Ebook9
Ebook9
kaashiv1
 
Azure Introduction
Azure Introduction
brunoterkaly
 
SQL Server - High availability
SQL Server - High availability
Peter Gfader
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
Ebook4
Ebook4
kaashiv1
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
System health session
System health session
Amit Banerjee
 
03 data storage
03 data storage
Bat Programmer
 
Concurrency presents Modern Datacenter
Concurrency presents Modern Datacenter
Concurrency, Inc.
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
Windows Azure through the eyes of an it pro
Windows Azure through the eyes of an it pro
Mike Martin
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnel
ukdpe
 
The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019
Amit Banerjee
 
Azure database services for PostgreSQL and MySQL
Azure database services for PostgreSQL and MySQL
Amit Banerjee
 

More Related Content

Similar to Microsoft TechEd India 2012 Backup Restore (20)

Ebook10
Ebook10
kaashiv1
 
Sql interview question part 10
Sql interview question part 10
kaashiv1
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Technet France
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Décideurs IT
 
Electric Microservices Land - Tsuyoshi Ushio
Electric Microservices Land - Tsuyoshi Ushio
DevDay Da Nang
 
Sql interview-question-part-9
Sql interview-question-part-9
kaashiv1
 
Sql interview question part 9
Sql interview question part 9
kaashiv1
 
Ebook9
Ebook9
kaashiv1
 
Ebook9
Ebook9
kaashiv1
 
Azure Introduction
Azure Introduction
brunoterkaly
 
SQL Server - High availability
SQL Server - High availability
Peter Gfader
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
Ebook4
Ebook4
kaashiv1
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
System health session
System health session
Amit Banerjee
 
03 data storage
03 data storage
Bat Programmer
 
Concurrency presents Modern Datacenter
Concurrency presents Modern Datacenter
Concurrency, Inc.
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
Windows Azure through the eyes of an it pro
Windows Azure through the eyes of an it pro
Mike Martin
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnel
ukdpe
 
Sql interview question part 10
Sql interview question part 10
kaashiv1
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Technet France
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
Microsoft Décideurs IT
 
Electric Microservices Land - Tsuyoshi Ushio
Electric Microservices Land - Tsuyoshi Ushio
DevDay Da Nang
 
Sql interview-question-part-9
Sql interview-question-part-9
kaashiv1
 
Sql interview question part 9
Sql interview question part 9
kaashiv1
 
Azure Introduction
Azure Introduction
brunoterkaly
 
SQL Server - High availability
SQL Server - High availability
Peter Gfader
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
Sql interview question part 4
Sql interview question part 4
kaashiv1
 
System health session
System health session
Amit Banerjee
 
Concurrency presents Modern Datacenter
Concurrency presents Modern Datacenter
Concurrency, Inc.
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
Windows Azure through the eyes of an it pro
Windows Azure through the eyes of an it pro
Mike Martin
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnel
ukdpe
 

More from Amit Banerjee (20)

The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019
Amit Banerjee
 
Azure database services for PostgreSQL and MySQL
Azure database services for PostgreSQL and MySQL
Amit Banerjee
 
Upgrade your SQL Server like a Ninja
Upgrade your SQL Server like a Ninja
Amit Banerjee
 
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
Amit Banerjee
 
Building 1 million predictions per second using SQL-R
Building 1 million predictions per second using SQL-R
Amit Banerjee
 
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Amit Banerjee
 
Enhancements to High Availability, Disaster Recovery and Replication
Enhancements to High Availability, Disaster Recovery and Replication
Amit Banerjee
 
Securing SQL Server with TLS 1.2
Securing SQL Server with TLS 1.2
Amit Banerjee
 
AlwaysOn Troubleshooting Improvements
AlwaysOn Troubleshooting Improvements
Amit Banerjee
 
Always On Availability Group Troubleshooting Ninja
Always On Availability Group Troubleshooting Ninja
Amit Banerjee
 
Debugging made easier with extended events
Debugging made easier with extended events
Amit Banerjee
 
You, SQL Server and PowerShell
You, SQL Server and PowerShell
Amit Banerjee
 
SQL Saturday 511 - Troubleshooting made easier using extended events
SQL Saturday 511 - Troubleshooting made easier using extended events
Amit Banerjee
 
Slow query bring it on
Slow query bring it on
Amit Banerjee
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
Amit Banerjee
 
Provisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL Server
Amit Banerjee
 
Backup enhancements with SQL Server 2014
Backup enhancements with SQL Server 2014
Amit Banerjee
 
Troubleshooting SQL Server using Power Pivot and Power View
Troubleshooting SQL Server using Power Pivot and Power View
Amit Banerjee
 
SQL Server Tips and Tricks - Power
SQL Server Tips and Tricks - Power
Amit Banerjee
 
SQL Server Scheduling Basics
SQL Server Scheduling Basics
Amit Banerjee
 
The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019
Amit Banerjee
 
Azure database services for PostgreSQL and MySQL
Azure database services for PostgreSQL and MySQL
Amit Banerjee
 
Upgrade your SQL Server like a Ninja
Upgrade your SQL Server like a Ninja
Amit Banerjee
 
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
Amit Banerjee
 
Building 1 million predictions per second using SQL-R
Building 1 million predictions per second using SQL-R
Amit Banerjee
 
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Amit Banerjee
 
Enhancements to High Availability, Disaster Recovery and Replication
Enhancements to High Availability, Disaster Recovery and Replication
Amit Banerjee
 
Securing SQL Server with TLS 1.2
Securing SQL Server with TLS 1.2
Amit Banerjee
 
AlwaysOn Troubleshooting Improvements
AlwaysOn Troubleshooting Improvements
Amit Banerjee
 
Always On Availability Group Troubleshooting Ninja
Always On Availability Group Troubleshooting Ninja
Amit Banerjee
 
Debugging made easier with extended events
Debugging made easier with extended events
Amit Banerjee
 
You, SQL Server and PowerShell
You, SQL Server and PowerShell
Amit Banerjee
 
SQL Saturday 511 - Troubleshooting made easier using extended events
SQL Saturday 511 - Troubleshooting made easier using extended events
Amit Banerjee
 
Slow query bring it on
Slow query bring it on
Amit Banerjee
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
Amit Banerjee
 
Provisioning Azure Virtual Machines to run SQL Server
Provisioning Azure Virtual Machines to run SQL Server
Amit Banerjee
 
Backup enhancements with SQL Server 2014
Backup enhancements with SQL Server 2014
Amit Banerjee
 
Troubleshooting SQL Server using Power Pivot and Power View
Troubleshooting SQL Server using Power Pivot and Power View
Amit Banerjee
 
SQL Server Tips and Tricks - Power
SQL Server Tips and Tricks - Power
Amit Banerjee
 
SQL Server Scheduling Basics
SQL Server Scheduling Basics
Amit Banerjee
 
Ad

Recently uploaded (20)

WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Ad

Microsoft TechEd India 2012 Backup Restore

  • 1. Lesser Known facts of SQL Server Backup GO BIG! Amit Banerjee and Restore www.troubleshootingsql.com http://twitter.com/banerjeeamit
  • 2. About Me SQL Server Escalation Services Community Speaker Premier Field @ SQL Saturday | SQL Engineer based Virtual Tech Days | Nexus, Backup out of Bangalore Tech Ed Simulator, SQLD IAG 6 years as Configuration MSFT Manager
  • 3. Agenda Backup/ Restore Planning Demystify #TechEdIn | @banerjeeamit
  • 4. Types Backup/Restore can be done in three different ways Native VSS VDI T-SQL Volume Shadow Virtual Device commands Service Interface T-SQL Snapshot 3rd Party Tools
  • 6. Native Backup and Restore Backup/ Restore Database • Full Piecemeal • T-Log Options • Differential • File/Filegroup Backup Options
  • 8. VSS – Volume Shadow Service
  • 11. VDI – Virtual Device Interface SQLVDI Types of Backup APIs Full Device Config Log Differential File/Filegroup
  • 12. DEMO
  • 14. Planning Document/ RPO/RT Dry Run O VLDB Automate options
  • 16. Demystifying Some unknowns that are worth knowing!!! BUFFERCOU MAXTRANSFERSIZ NT E I/O is frozen on database msdb. No user action is required. I/O was resumed on database Full backup msdb. No user action is doesn’t break required. backup chain!
  • 17. DEMO
  • 18. Thank you for time and patience! Hope you had as much fun as I did in presenting the same! Contact Details facebook.com/TroubleshootingSQL http://twitter.com/banerjeeamit http://twitter.com/TblShootingSQL www.troubleshootingsql.com
  • 19. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the US and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  • 20. Resources Developers Infrastructure Professionals http://msdn.microsoft.co http://technet.micorsoft.com/ m/ @msdnindi technetindia @technetindia msdnindia a

Editor's Notes

  • #15: RPO/RTODefine SLAIdentify DR optionsAutomateHave scripts/batch files readyMake sure backups are accessibleVLDBsExplore piecemealUse features like striping/compressionTeamDry RunsDocument