vmware backup integrity eric siebert vexpert, author, blogger blog: ://vsphere-land.com twitter:...

15
VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: http://vsphere-land.com http://searchvmware.com Twitter: @ericsiebert

Upload: cory-barnett

Post on 18-Jan-2016

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

VMware Backup Integrity

Eric SiebertvExpert, Author, Blogger

Blog: http://vsphere-land.com http://searchvmware.com

Twitter: @ericsiebert

Page 2: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

About the speaker

25 year IT industry veteran.

vSphere Land blog: http://vmware-land.com/Author of popular books

vExpert nomination

Contributor to industry publications

Page 3: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Agenda

Why backup integrity is critical

Traditional backup verification methods

How virtualization makes verification easier

Quiescing is critical to consistency

VMware Tools is important

Page 4: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Why backup integrity is critical?

Good Restore?

APP

Good backup

Good backups are important, good restores is more important Backups worthless without proper restore capabilities No errors reported doesn’t imply recoverability Test and verify backups are working and recoverable

Restore

Backup

Page 5: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

The challenge of verifying backups

Good backup Non-production environment

APP

Reporting a successful backup is not a complete verification File, application, database and server restores needed Proper verification can be time-consuming Restoring files is easy, applications or whole VM is complicated

Need to ensure that VM backups are usable

APP

Page 6: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Traditional backup verification methods

Same OS

Same Drivers

Same App

Non-production environment

Ensuring recoverability with legacy tools unfeasible

Restore

Backup

Verification can’t impact production VMs Requires un-used hardware to test restore Bare-metal restores for verification is impractical Difficult with many server models and generations

Page 7: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Data Restore Levels

3 Different levels to backup and restore

Application item level

File level

Image level

Restore

Backup

SQLrecord

Page 8: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

How virtualization makes verification easier

VMs easily restored to host and powered on Network isolation prevents impacting production

systems Multiple VMs restored to tests applications No extra hardware required

Restore

Backup

The process is easier with virtualization

Page 9: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Consistency is the key to good backups

Restore

Backup

OS, applications and data need to be in proper state

Critical for transactional applications: AD, SQL and

Exchange

Server must be prepared before snapshot

Pending transactions must completed

Missing data can cause corruption

Exchange SQL Active Directory More

Transaction-based applications

Page 10: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Quiescing is critical to consistency

Not all applications support quiescing

Quiescing pauses VM while outstanding operations complete

Once quiesce is complete, VM snapshot can be taken

Windows uses VSS

Linux uses VMare Tools

Page 11: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

Backup states

A VM can be in several states when snapshot is taken

Equivalent to hard power off

OS is quiesced

OS and applications are quiesced, best state

File system consistent

Page 12: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

VMware Tools

Contains drivers and applications that help optimize the guest OS to run on a VMware host

Guest daemon

Toolbox/tray

VMmemtcl

VMxnet

VMsync

Host/guest communication

Configure VMware Tool settings

Memory balloon driver

VMware network drivers

Sync driver for freezing and thawing

VMwareTools

Page 13: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

VMware Tools

Backup Server starts backup job

Backup Server contactsVMware Tools to quiesce VM

Microsoft VSS quiesce’s VM

Backup Server creates VMSnapshotUsing API

Backup Server begins image-Level backup

Backup Server deletes VM snapshot when finished

1 2 3 4 5 6

VMware Tools interacts with VSS VMware Tools may not immediately support newest OSes Backups can provide OS agents to quiesce VMs In Linux VMs, the VMsync driver can provide VSS-like

features

Page 14: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

What we covered:

Verify recoverability of backups to avoid any

surprises

Regular verification of recoverability is required

Leverage virtualization for verification

Automation is essential

Verifying recoverability is critical

Page 15: VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog: ://vsphere-land.com  Twitter: @ericsiebert

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