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

Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

Embed Size (px)

DESCRIPTION

We're going to get started by talking about what is Volume Shadow Copy Services. What is this thing that's called VSS? Then we are going to talk about why should I use VSS? We are going to move on to talk about the different components that make up VSS so that you can understand it from an architectural standpoint and know how these components talk to each other and tie into one another. Then we're going to take a look at how native operating systems do VSS, how a native Windows operating system that's installed on physical machines, by the way does that still exist physical machines? What is a physical machine?

Citation preview

Page 1: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

Backing up Enterprise Applications: Transaction Consistency is Key

Elias Khnaser

www.eliaskhnaser.com

Twitter: @ekhnaser

Page 2: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

About Elias Khnaser

Page 3: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

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

Page 4: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

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, by Elias Khnaser, Backup Academy

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, by Elias Khnaser, Backup Academy

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, by Elias Khnaser, Backup Academy

Native Operating System VSS Backup

Volume Shadow Copy ServiceWriters Requestor

ProviderSQL, Exchange,Active Directory,

Oracle, SharePoint

Backupsoftware

Operatingsystem, storage array or system

provider

Disk Volume

Page 8: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

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, by Elias Khnaser, Backup Academy

Agent Assisted VSS Aware Backup

Application jungle requires comprehensive solution

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

Windows

VM

WindowsRestore

Backup

VM

Windows

VM

Windows

VM

Windows

VM

Windows

Backup File system consistent

Applicationconsistent

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, by Elias Khnaser, Backup Academy

Agent Assisted VSS Aware Backup

Application consistent recovery made easy with VSS agent

Not a traditional agent that needs updating and management

Volume Shadow Copy ServiceWriters Requestor

ProviderSQL, Exchange,Active Directory,

Oracle, SharePointVMware Tools

Operatingsystem, storage array or system

provider

Disk Volume

ESXi HostOn-Demand

Assistive Agent

3rd PartyBackup Host

Disk Volume

Page 11: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

Agent Assisted VSS Aware Restore

VSS 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, by Elias Khnaser, Backup Academy

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

Agent Assisted VSS Aware Restore

Page 13: Backing up enterprise applications: transaction consistency is key, by Elias Khnaser, Backup Academy

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