130 likes | 264 Views
Backing up Enterprise Applications: Transaction Consistency is Key. Elias Khnaser. www.eliaskhnaser.com Twitter: @ ekhnaser. About Elias Khnaser. Agenda. What Is Volume Shadow Copy Services (VSS)? Why VSS? VSS Components Native Operating System VSS Backup VMware vSphere 4.x Backups
E N D
Backing up Enterprise Applications: Transaction Consistency is Key Elias Khnaser www.eliaskhnaser.com Twitter: @ekhnaser
Agenda • What Is Volume Shadow Copy Services (VSS)? • Why VSS? • VSS Components • Native Operating System VSS Backup • VMware vSphere 4.x Backups • Agent Assisted VSS Aware Backups • How Volume Shadow Copies Are Created • Agent Assisted VSS Aware Restore
What is Volume Shadow Copy Services (VSS)? • VSS is Windows framework for application backups • VSS is a built-in Windows service that facilitates and coordinates the creation of consistent copies of Transaction-based application data • 2 methods for creating Shadow Copies: • Clone (Full Clone/Split Mirror) • Copy-on-Write (Difference File) Transaction-based applications Exchange SQL Active Directory More
Why VSS? Application consistency is critical • Avoid crash-consistent backups • Crash-consistent is a nice way of saying hard stop • Application awareness • Avoidance of manual post restore tasks VM Windows VM Windows VM Windows VM Windows VM Windows Backup VM Windows VM Windows VM Windows VM Windows VM Windows Restore
VSS Components • Volume Shadow Copy Service is a service that coordinates the function of all components to create the shadow copy • Requestors initiate Shadow Copy Creation • Writers prevent data inconsistency • Providers create the Shadow Copy • System Provider • Hardware Providers • Software Providers • Source Volume is the volume that contains the data to be shadowed • Storage Volume is the volume that holds the shadow copy A number of providers available
Native Operating System VSS Backup Writers Volume Shadow Copy Service Requestor Provider Disk Volume SQL, Exchange, Active Directory, Oracle, SharePoint Backup software Operating system, storage array or system provider
VMware vSphere 4.x Backups VMware Tools is for quiescing filesystem with VSS • VMware Tools doesn’t quiesce applications • May impact recovery Image level backup that is crash consistent Writers Volume Shadow Copy Service Requestor Provider Disk Volume SQL, Exchange, Active Directory, Oracle, SharePoint ESXi Host VMware Tools Disk Volume Operating system, storage array or system provider
Agent Assisted VSS Aware Backup Application jungle requires comprehensive solution Not a traditional agent that needs updating and management Writers Volume Shadow Copy Service Requestor VM Windows VM Windows Application consistent recovery made easy with VSS agent VM Windows VM Windows VM Windows VM Windows VM Windows Provider Backup Backup VM Windows VM Windows Disk Volume VM Windows VM Windows VM Windows VM Windows VM Windows Restore ESXi Host File system consistent Application consistent Disk Volume SQL, Exchange, Active Directory, Oracle, SharePoint On-Demand Assistive Agent 3rd Party Backup Host VMware Tools Operating system, storage array or system provider
How Volume Shadow Copies Are Created Quiesce data VSS Writers Successful VSS process Prepare data Query writers Initiate commit phase Enumerate VSS writers SQL, Exchange, AD, Oracle, SharePoint, etc. XML description Check for successful writers VSS Writers VSS VSS Create shadow copy Backup File system thaw Possible retry Backup
Agent Assisted VSS Aware Restore VSS aware restore is critical Properly initialize VM on startup Backup VM Windows Restore Domain controller example VM Windows Exchange example
What We Covered • What Is Volume Shadow Copy Services (VSS)? • Why VSS? • VSS Components • Native Operating System VSS Backup • VMware vSphere 4.x Backups • Agent Assisted VSS Aware Backups • How Volume Shadow Copies Are Created • Agent Assisted VSS Aware Restore
Enjoy and share this material • Feel free to promote this material • Recommend your peers to pass certification • Blog, Tweet and share this material and your experience on Facebook • You’re an Expert? We will be happy to have you as Backup Academy • contributor. Apply here. Web: http://www.backupacademy.com E-mail: feedback@backupacademy.com Twitter: BckpAcademy Facebook: backup.academy