SlideShare a Scribd company logo
1 of 12
DP for SQL SERVER
Session 2
Agenda
• Legacy Api
• VSS
• Legacy vs VSS
• SMO Programming
Legacy Backup
• In SQL SERVER two types of backups are available: Legacy backups
and VSS backups.
• Legacy backup is a specialized API backup that functions with the
Microsoft SQL Server storage engine, as show in Figure 1-7
• This is the type of backup provided by previous releases of Data
Protection for SQL Server.
• A Legacy backup creates a copy of all or part of a SQL Server database on
Tivoli Storage Manager storage media.
• When you initiate a Legacy backup operation, Data Protection for SQL
executes the following steps:
• 1. Starts a session with the server using the IBM Tivoli Storage Manager API
and information contained in a client options file.
• 2. Starts a session with the SQL server using an internal Microsoft interface,
known as SQL-DMO (Distributed Management Objects).
• 3. Instructs the SQL server using the Microsoft SQL-VDI (Virtual Device
Interface) to begin a backup of the selected database objects.
• 4. Receives data from the SQL server and sends it to the Tivoli Storage
Manager server.
• 5. Ends the Tivoli Storage Manager server and Microsoft SQL Server
sessions.
Legacy Backup
• The following characteristics are true of Legacy backups:
• Full, copy, incremental, differential, and database copy types are
supported. Backup granularity is at the database level.
• Backups are stored on IBM Tivoli Storage Manager server storage.
• Backups are managed through IBM Tivoli Storage Manager server
policy.
• Backups can be performed in a Microsoft Cluster Server (MSCS)
environment.Backups provide Microsoft SQL Server database
integrity check functionality.
VSS Backup
• A VSS backup uses Microsoft Volume Shadow Copy Service technology to produce an online
snapshot (point-in-time consistent copy) of SQL Server data that can be stored on local shadow
volumes or on Tivoli Storage Manager server storage.
• During a VSS backup, the SQL server is not in “backup mode” for an extended period of time
because the length of time required to perform the snapshot is usually measured in seconds and
not hours.
• In addition, a VSS backup makes it possible to take a snapshot of large amounts of data at the
same time because the snapshot works at the volume level.
• VSS backups require IBM Tivoli Storage Manager for Copy Services to be installed, in addition to
Data Protection for SQL and the IBM Tivoli Storage Manager backup-archive client. You can
optionally use an alternate machine to move data to the IBM Tivoli Storage Manager server, an
offloaded backup.
• Optionally, VSS backups can be stored locally on VSS shadow volumes that are directly accessible
by the SQL system, as long as sufficient space is available for the snapshot. Local VSS shadow
backups are fast because data is not transferred to Tivoli Storage Manager server storage.
Restoring these backups is also fast because the SQL Server data is not transferred from Tivoli
Storage Manager server storage over the network.
VSS ARCHITECTURE
VSS
• Full VSS snapshot backups and full VSS offloaded snapshot backups are
supported. Incremental, differential, and transaction log backup types are
not supported.
• Backup granularity is at the database level only. Backups are managed
through Tivoli Storage Manager policy.
• Backups can be stored on local shadow volumes, Tivoli Storage Manager
server storage, or both locations.
• Different policy settings can be defined for each storage location and
backup method.
• Backups to Tivoli Storage Manager server storage can be offloaded to an
alternate machine, to reduce the workload on the production servers.
• Backups can be performed in a Microsoft Cluster Server (MSCS) or Veritas
Cluster Server (VCS) environment.
Legacy vs VSS
Legacy VSS
Using sql vdi interface Uses volume shadow copy services
Supports full/diff/log backups Supports only full backups
Can be restored to any sql instance Can be restored to same sql instance only
Vss is much faster in backups and restores for the larger
database
Vss backup has better consistency as it created point in
time snapshot
SQL Server Management Objects (SMO)
Programming
• SQL Server Management Objects (SMO) is a collection of objects that
are designed for programming all aspects of managing Microsoft SQL
Server.
• You can use SMO to create databases, perform backups, create jobs,
configure SQL Server, assign permissions, and to perform many other
administrative tasks.
• Programming-specific tasks using SMO objects include complex
subjects that would only be required by programs with a specific
function, such as backing up, monitoring statistics, replication,
managing instance objects, and setting configuration options.
SMO
• In SMO, the Backup class and the Restore class are utility classes that provide the tools to
accomplish the specific tasks of backing up and restoring. A Backup object represents a
specific backup task that is required instead of a Microsoft SQL Server object on the
server instance.
• If data loss or corruption occurs, the backup must be restored, either fully or partially.
Partial restoration uses the FileGroupCollection collection to segment the data to be
restored. If the backup is of a transaction log, the data can be restored up to a particular
point in time by using the ToPointInTime property of the Restore object. The data can
also be validated by using the SqlVerify method. The recommended backup procedure is
to check the integrity of the backup by doing a restore operation and checking the data
in the database on a regular basis.
• Like the Backup object, the Restore object does not need to be created by using a Create
method because it does not represent any object on the instance of SQL Server. The
Restore object is a set of properties and methods used to restore a database.
Thank You

More Related Content

What's hot

DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...
DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...
DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...Sergio Vargas
 
V sphere virtual volumes technical overview
V sphere virtual volumes technical overviewV sphere virtual volumes technical overview
V sphere virtual volumes technical overviewsolarisyougood
 
PHD Virtual: Optimizing Backups for Any Storage
PHD Virtual: Optimizing Backups for Any StoragePHD Virtual: Optimizing Backups for Any Storage
PHD Virtual: Optimizing Backups for Any StorageMark McHenry
 
Explicit Dedication of Resources in CloudStack
Explicit Dedication of Resources in CloudStackExplicit Dedication of Resources in CloudStack
Explicit Dedication of Resources in CloudStackSaksham Srivastava
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld
 
Microsoft SQL Server - Server Consolidation Datasheet
Microsoft SQL Server - Server Consolidation DatasheetMicrosoft SQL Server - Server Consolidation Datasheet
Microsoft SQL Server - Server Consolidation DatasheetMicrosoft Private Cloud
 
Hyperconvergence Facts and FAQs
Hyperconvergence Facts and FAQsHyperconvergence Facts and FAQs
Hyperconvergence Facts and FAQsSpringpath
 
Mct summit 2013 rt in the enterprise
Mct summit 2013   rt in the enterpriseMct summit 2013   rt in the enterprise
Mct summit 2013 rt in the enterprisePeter De Tender
 
ExaGrid and Symantec NetBackup: Optimizing Data Protection Webinar
ExaGrid  and Symantec NetBackup: Optimizing Data Protection WebinarExaGrid  and Symantec NetBackup: Optimizing Data Protection Webinar
ExaGrid and Symantec NetBackup: Optimizing Data Protection WebinarBill Hobbib
 
Hyperconvergence FAQ's
Hyperconvergence FAQ'sHyperconvergence FAQ's
Hyperconvergence FAQ'sSpringpath
 
3 Steps to Hyperconvergence
3 Steps to Hyperconvergence3 Steps to Hyperconvergence
3 Steps to HyperconvergenceSpringpath
 
MySQL DBA OCP 1Z0-883
MySQL DBA OCP 1Z0-883MySQL DBA OCP 1Z0-883
MySQL DBA OCP 1Z0-883Kwaye Kant
 

What's hot (15)

DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...
DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...
DISASTER RECOVERY PLAN USING ORACLE VIRTUAL MACHINES OVM 3.1.1 AND JDEDWARDS ...
 
V sphere virtual volumes technical overview
V sphere virtual volumes technical overviewV sphere virtual volumes technical overview
V sphere virtual volumes technical overview
 
Block Level and File Level
Block Level and File LevelBlock Level and File Level
Block Level and File Level
 
APM 2 - Middle East Workshop
APM 2 - Middle East WorkshopAPM 2 - Middle East Workshop
APM 2 - Middle East Workshop
 
Virtualization
VirtualizationVirtualization
Virtualization
 
PHD Virtual: Optimizing Backups for Any Storage
PHD Virtual: Optimizing Backups for Any StoragePHD Virtual: Optimizing Backups for Any Storage
PHD Virtual: Optimizing Backups for Any Storage
 
Explicit Dedication of Resources in CloudStack
Explicit Dedication of Resources in CloudStackExplicit Dedication of Resources in CloudStack
Explicit Dedication of Resources in CloudStack
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Microsoft SQL Server - Server Consolidation Datasheet
Microsoft SQL Server - Server Consolidation DatasheetMicrosoft SQL Server - Server Consolidation Datasheet
Microsoft SQL Server - Server Consolidation Datasheet
 
Hyperconvergence Facts and FAQs
Hyperconvergence Facts and FAQsHyperconvergence Facts and FAQs
Hyperconvergence Facts and FAQs
 
Mct summit 2013 rt in the enterprise
Mct summit 2013   rt in the enterpriseMct summit 2013   rt in the enterprise
Mct summit 2013 rt in the enterprise
 
ExaGrid and Symantec NetBackup: Optimizing Data Protection Webinar
ExaGrid  and Symantec NetBackup: Optimizing Data Protection WebinarExaGrid  and Symantec NetBackup: Optimizing Data Protection Webinar
ExaGrid and Symantec NetBackup: Optimizing Data Protection Webinar
 
Hyperconvergence FAQ's
Hyperconvergence FAQ'sHyperconvergence FAQ's
Hyperconvergence FAQ's
 
3 Steps to Hyperconvergence
3 Steps to Hyperconvergence3 Steps to Hyperconvergence
3 Steps to Hyperconvergence
 
MySQL DBA OCP 1Z0-883
MySQL DBA OCP 1Z0-883MySQL DBA OCP 1Z0-883
MySQL DBA OCP 1Z0-883
 

Similar to Dp sql server

AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointMichael Noel
 
Snowflake_Cheat_Sheet_Snowflake_Cheat_Sheet
Snowflake_Cheat_Sheet_Snowflake_Cheat_SheetSnowflake_Cheat_Sheet_Snowflake_Cheat_Sheet
Snowflake_Cheat_Sheet_Snowflake_Cheat_Sheetharipra2
 
Module 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxModule 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxSproohaAthalye
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage VirtualizationMehul Jariwala
 
Sql Server 2014 Hybrid Cloud
Sql Server 2014 Hybrid Cloud  Sql Server 2014 Hybrid Cloud
Sql Server 2014 Hybrid Cloud BT Akademi
 
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15Symantec
 
Azure Back to School - Azure Backup for Azure IaaS resources
Azure Back to School - Azure Backup for Azure IaaS resourcesAzure Back to School - Azure Backup for Azure IaaS resources
Azure Back to School - Azure Backup for Azure IaaS resourcesWim Matthyssen
 
Veeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSysVeeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSysMarketing Team
 
Veeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General OverviewVeeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General OverviewVeeam Software
 
Future Proof Your Data: IBM Storage at VeeamON
Future Proof Your Data: IBM Storage at VeeamONFuture Proof Your Data: IBM Storage at VeeamON
Future Proof Your Data: IBM Storage at VeeamONPaula Koziol
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfbhavyanm2
 

Similar to Dp sql server (20)

PdfFile.pdf
PdfFile.pdfPdfFile.pdf
PdfFile.pdf
 
mmm.pdf
mmm.pdfmmm.pdf
mmm.pdf
 
vm.pdf
vm.pdfvm.pdf
vm.pdf
 
Veeam-Poster-V12.pdf
Veeam-Poster-V12.pdfVeeam-Poster-V12.pdf
Veeam-Poster-V12.pdf
 
vmmm.pdf
vmmm.pdfvmmm.pdf
vmmm.pdf
 
TR.pdf
TR.pdfTR.pdf
TR.pdf
 
AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePoint
 
Snowflake_Cheat_Sheet_Snowflake_Cheat_Sheet
Snowflake_Cheat_Sheet_Snowflake_Cheat_SheetSnowflake_Cheat_Sheet_Snowflake_Cheat_Sheet
Snowflake_Cheat_Sheet_Snowflake_Cheat_Sheet
 
Module 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptxModule 06_Cloud Backup and Solutions.pptx
Module 06_Cloud Backup and Solutions.pptx
 
Commvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptxCommvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptx
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
 
Sql Server 2014 Hybrid Cloud
Sql Server 2014 Hybrid Cloud  Sql Server 2014 Hybrid Cloud
Sql Server 2014 Hybrid Cloud
 
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15
WHITE PAPER▶ Protecting Microsoft SQL with Backup Exec 15
 
Azure Back to School - Azure Backup for Azure IaaS resources
Azure Back to School - Azure Backup for Azure IaaS resourcesAzure Back to School - Azure Backup for Azure IaaS resources
Azure Back to School - Azure Backup for Azure IaaS resources
 
Veeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSysVeeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSys
 
Veeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General OverviewVeeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General Overview
 
Future Proof Your Data: IBM Storage at VeeamON
Future Proof Your Data: IBM Storage at VeeamONFuture Proof Your Data: IBM Storage at VeeamON
Future Proof Your Data: IBM Storage at VeeamON
 
A to z for sql azure databases
A to z for sql azure databasesA to z for sql azure databases
A to z for sql azure databases
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
 
10135 b 08
10135 b 0810135 b 08
10135 b 08
 

Recently uploaded

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Dp sql server

  • 1. DP for SQL SERVER Session 2
  • 2. Agenda • Legacy Api • VSS • Legacy vs VSS • SMO Programming
  • 3. Legacy Backup • In SQL SERVER two types of backups are available: Legacy backups and VSS backups. • Legacy backup is a specialized API backup that functions with the Microsoft SQL Server storage engine, as show in Figure 1-7 • This is the type of backup provided by previous releases of Data Protection for SQL Server.
  • 4. • A Legacy backup creates a copy of all or part of a SQL Server database on Tivoli Storage Manager storage media. • When you initiate a Legacy backup operation, Data Protection for SQL executes the following steps: • 1. Starts a session with the server using the IBM Tivoli Storage Manager API and information contained in a client options file. • 2. Starts a session with the SQL server using an internal Microsoft interface, known as SQL-DMO (Distributed Management Objects). • 3. Instructs the SQL server using the Microsoft SQL-VDI (Virtual Device Interface) to begin a backup of the selected database objects. • 4. Receives data from the SQL server and sends it to the Tivoli Storage Manager server. • 5. Ends the Tivoli Storage Manager server and Microsoft SQL Server sessions.
  • 5. Legacy Backup • The following characteristics are true of Legacy backups: • Full, copy, incremental, differential, and database copy types are supported. Backup granularity is at the database level. • Backups are stored on IBM Tivoli Storage Manager server storage. • Backups are managed through IBM Tivoli Storage Manager server policy. • Backups can be performed in a Microsoft Cluster Server (MSCS) environment.Backups provide Microsoft SQL Server database integrity check functionality.
  • 6. VSS Backup • A VSS backup uses Microsoft Volume Shadow Copy Service technology to produce an online snapshot (point-in-time consistent copy) of SQL Server data that can be stored on local shadow volumes or on Tivoli Storage Manager server storage. • During a VSS backup, the SQL server is not in “backup mode” for an extended period of time because the length of time required to perform the snapshot is usually measured in seconds and not hours. • In addition, a VSS backup makes it possible to take a snapshot of large amounts of data at the same time because the snapshot works at the volume level. • VSS backups require IBM Tivoli Storage Manager for Copy Services to be installed, in addition to Data Protection for SQL and the IBM Tivoli Storage Manager backup-archive client. You can optionally use an alternate machine to move data to the IBM Tivoli Storage Manager server, an offloaded backup. • Optionally, VSS backups can be stored locally on VSS shadow volumes that are directly accessible by the SQL system, as long as sufficient space is available for the snapshot. Local VSS shadow backups are fast because data is not transferred to Tivoli Storage Manager server storage. Restoring these backups is also fast because the SQL Server data is not transferred from Tivoli Storage Manager server storage over the network.
  • 8. VSS • Full VSS snapshot backups and full VSS offloaded snapshot backups are supported. Incremental, differential, and transaction log backup types are not supported. • Backup granularity is at the database level only. Backups are managed through Tivoli Storage Manager policy. • Backups can be stored on local shadow volumes, Tivoli Storage Manager server storage, or both locations. • Different policy settings can be defined for each storage location and backup method. • Backups to Tivoli Storage Manager server storage can be offloaded to an alternate machine, to reduce the workload on the production servers. • Backups can be performed in a Microsoft Cluster Server (MSCS) or Veritas Cluster Server (VCS) environment.
  • 9. Legacy vs VSS Legacy VSS Using sql vdi interface Uses volume shadow copy services Supports full/diff/log backups Supports only full backups Can be restored to any sql instance Can be restored to same sql instance only Vss is much faster in backups and restores for the larger database Vss backup has better consistency as it created point in time snapshot
  • 10. SQL Server Management Objects (SMO) Programming • SQL Server Management Objects (SMO) is a collection of objects that are designed for programming all aspects of managing Microsoft SQL Server. • You can use SMO to create databases, perform backups, create jobs, configure SQL Server, assign permissions, and to perform many other administrative tasks. • Programming-specific tasks using SMO objects include complex subjects that would only be required by programs with a specific function, such as backing up, monitoring statistics, replication, managing instance objects, and setting configuration options.
  • 11. SMO • In SMO, the Backup class and the Restore class are utility classes that provide the tools to accomplish the specific tasks of backing up and restoring. A Backup object represents a specific backup task that is required instead of a Microsoft SQL Server object on the server instance. • If data loss or corruption occurs, the backup must be restored, either fully or partially. Partial restoration uses the FileGroupCollection collection to segment the data to be restored. If the backup is of a transaction log, the data can be restored up to a particular point in time by using the ToPointInTime property of the Restore object. The data can also be validated by using the SqlVerify method. The recommended backup procedure is to check the integrity of the backup by doing a restore operation and checking the data in the database on a regular basis. • Like the Backup object, the Restore object does not need to be created by using a Create method because it does not represent any object on the instance of SQL Server. The Restore object is a set of properties and methods used to restore a database.

Editor's Notes

  1. The virtual device interface of SQL Server allows developers to define "virtual devices" for SQL Server to backup and restore databases and transaction logs.