13
Backing up Enterprise Applications: Transaction Consistency is Key Elias Khnaser www.eliaskhnaser.com Twitter: @ekhnaser

Backing up Enterprise Applications: Transaction Consistency is Key

  • Upload
    asta

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Backing up Enterprise Applications: Transaction Consistency is Key

Elias Khnaserwww.eliaskhnaser.comTwitter: @ekhnaser

Page 2: Backing up  Enterprise Applications:  Transaction  Consistency is Key

About Elias Khnaser

Page 3: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Agenda

What Is Volume Shadow Copy Services (VSS)?Why VSS?VSS ComponentsNative Operating System VSS BackupVMware vSphere 4.x BackupsAgent Assisted VSS Aware BackupsHow Volume Shadow Copies Are CreatedAgent Assisted VSS Aware Restore

Page 4: Backing up  Enterprise Applications:  Transaction  Consistency is Key

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)

Exchange SQL Active Directory More

Transaction-based applications

Page 5: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Why VSS?

Avoid crash-consistent backups Crash-consistent is a nice way of saying hard stop Application awareness Avoidance of manual post restore tasks

Application consistency is critical

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

Restore

Backup

Page 6: Backing up  Enterprise Applications:  Transaction  Consistency is Key

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

Page 7: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Native Operating System VSS Backup

Volume Shadow Copy ServiceWriters Requestor

ProviderSQL, Exchange,Active Directory,

Oracle, SharePointBackupsoftware

Operatingsystem, storage array or system

provider

Disk Volume

Page 8: Backing up  Enterprise Applications:  Transaction  Consistency is Key

VMware vSphere 4.x Backups VMware Tools doesn’t quiesce applications May impact recovery

Volume Shadow Copy ServiceWriters Requestor

ProviderSQL, Exchange,Active Directory,

Oracle, SharePointVMware Tools

Operatingsystem, storage array or system

providerDisk

Volume

ESXi Host

VMware Tools is for quiescing filesystem with VSS

Image level backup that is crash consistent

Disk Volume

Page 9: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Agent Assisted VSS Aware Backup

Application jungle requires comprehensive solution

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

VMWindows

Restore

BackupVMWindows

VMWindows

VMWindows

VMWindows

Backup File system consistent

Applicationconsistent

Volume Shadow Copy ServiceWriters Requestor

ProviderSQL, Exchange,Active Directory,

Oracle, SharePointVMware Tools

Operatingsystem, storage array or system

providerDisk

Volume

ESXi HostOn-Demand

Assistive Agent

3rd PartyBackup Host

Disk Volume

Application consistent recovery made easy with VSS agent

Not a traditional agent that needs updating and management

Page 10: Backing up  Enterprise Applications:  Transaction  Consistency is Key

How Volume Shadow Copies Are CreatedSuccessful VSS process

VSS Initiate commit phase

VSS Query writersWriters Prepare data

VSS Check for successfulwriters

Writers Quiesce dataVSS Enumerate VSS writersSQL, Exchange, AD, Oracle, SharePoint, etc.

Backup

Create shadow copyXML descriptionBackup

File system thawPossible retry

Page 11: Backing up  Enterprise Applications:  Transaction  Consistency is Key

Agent Assisted VSS Aware RestoreVSS aware restore is critical

Properly initialize VM on startup

Restore

Backup

VMWindows Domain controller example

VMWindows Exchange example

Page 12: Backing up  Enterprise Applications:  Transaction  Consistency is Key

What We Covered

What Is Volume Shadow Copy Services (VSS)?Why VSS?VSS ComponentsNative Operating System VSS BackupVMware vSphere 4.x BackupsAgent Assisted VSS Aware BackupsHow Volume Shadow Copies Are CreatedAgent Assisted VSS Aware Restore

Page 13: Backing up  Enterprise Applications:  Transaction  Consistency is Key

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.comE-mail: [email protected]: BckpAcademyFacebook: backup.academy