Best Practices for Hyper-V Backups Greg Shields, MVP Senior Partner Concentrated Technology

Slides:



Advertisements
Similar presentations
Server Virtualization Backups, Disaster Recovery, Business Continuity Steve Evans
Advertisements

The Impact of Logical and Physical Fragmentation in a Virtual Environment Presented by Raxco Software, Inc. October 29, 2009.
Storage, Backup & Recovery Considerations in Hyper-V Christopher Global Virtualization Lead EMC Consulting Blog:
Why Virtual Machine Backups Are Different David Davis Blog:
Backup Strategies for Hyper-V Chris Henley, Veeam Software @HyperVBear.
Eric Siebert vExpert, Author, Blogger Blog: Core Technologies.
Tag line, tag line SnapDrive for Windows 6.2 Customer Technical Presentation November 2009.
Presentation: 20 minutes
Top 5 Tips in 2012 for Failsafe Virtual Machine Protection Greg Shields Senior Partner and Principal Technologist, Concentrated Technology, LLC
Installation and Deployment in Microsoft Dynamics CRM 4.0
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Automating SQL Buildouts With Hyper-V and SQL Server 2008 R2 Robert L Davis, Sr. DBA, Microsoft Corp.
Chapter 12 - Backup and Disaster Recovery1 Ch. 12 – Backups and Disaster Recovery MIS 431 – Created Spring 2006.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
vSphere 5 Changes for Backups and Administration Rick Vanover MCITP vExpert VCP Veeam Software.
VMware vCenter Server Module 4.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
© 2010 VMware Inc. All rights reserved Data Protection Module 10.
Hyper-V 3.0 – What’s New in Windows Server 2012? Brien Posey
Elad Hayun Agenda What's New in Hyper-V 2012 Storage Improvements Networking Improvements VM Mobility Improvements.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
1 Management Pain points now Existing tools: Do not map to virtual environments Provisioning Backup Health monitoring Performance monitoring / management.
Data Deduplication in Virtualized Environments Marc Crespi, ExaGrid Systems
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.

Purpose Intended Audience and Presenter Contents Proposed Presentation Length Intended audience is all distributor partners and VARs Content may be customized.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Maintaining File Services. Shadow Copies of Shared Folders Automatically retains copies of files on a server from specific points in time Prevents administrators.
Tivoli Storage Manager for Virtual Environments 7.1.1
Windows XP to Windows 7 using P2V Migration. Agenda Deploying Local P2V Migration for SA Retro Mode Scripts Customize MDT 2010 with Disk2VHD Windows Virtual.
Multi-Site Clustering for Hyper-V Disaster Recovery Greg Shields, MVP, vExpert Senior Partner Concentrated Technology
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Continuous Backup for Business CrashPlan PRO offers a paradigm of backup that includes a single solution for on-site and off-site backups that is more.
Physical vs. Virtual Backups Rick Vanover MCITP vExpert VCP Veeam Software.
VMware Backup Integrity Eric Siebert vExpert, Author, Blogger Blog:
@Veeam How to do a backup wrong: Top mistakes Rick Vanover MCITP vExpert VCP Veeam Software.
Best Practices for VMware Backups Rick Vanover MCITP vExpert VCP Software Strategy Specialist Veeam.
Eric Siebert vExpert, Author, Blogger Restore capabilities of VMware backups Blog:
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter One Introduction to Exchange Server 2003.
Storage Netværk Mød Microsoft Feb 2005, Agenda Data Protection Server (opdatering) Microsoft og iSCSI Demo.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
SCCM – Disaster RecoverySCCM – Disaster Recovery Do you feel lucky punk? Matthew H. Teegarden Systems Software.
What’s new in Vembu BDR Suite v3.5 - Coming Soon
Backup A backup of the cluster includes the system state, the node, and the cluster disk.
Vembu ImageBackup Free Edition
VMware Backup Free Edition Using Vembu VMBackup
Optimizing SQL Server Performance in a Virtual Environment
Vembu BDR Suite Standard Edition TECHNOLOGY PARTNERS
Microsoft Hyper-V backup
HC Hyper-V Module GUI Portal VPS Templates Web Console
Microsoft Virtual Academy
Vembu ImageBackup - Free edition
Vembu extends support to Vembu v4.0
VMware Backup - Standard edition
Microsoft Virtual Academy
VMware Backup - Free edition
Microsoft Virtual Academy
Vembu extends support to Vembu v4.0
Hyper-V backup -Free Edition
Microsoft Virtual Academy
Presentation transcript:

Best Practices for Hyper-V Backups Greg Shields, MVP Senior Partner Concentrated Technology

About the speaker Over 15 years of Windows experience. Administrator – Managed environments ranging from a few dozen to many thousands of users… Consultant – Hands-on and Strategic… Speaker – TechMentor, Tech Ed, Windows Connections, MMS, VMworld, ISACA, others… Analyst/Author – Fourteen books and counting… Columnist – TechNet Magazine, Redmond Magazine, Windows IT Pro Magazine, TechTarget Online, others… All-around good guy…

Honesty Moment: This Isnt Fun. Hyper-V backups are not as trivial as they might seem. Hyper-V host requires backup Virtual machines require backup Files inside VMs require backup System State requires backup Bad decisions mean Hyper-V backups might not back up with the granularity you might need. I need to grab a file off a VM. I need to restore a SQL database or a database row in a VM. I need to recover an individual from Exchange. I need to bring back a VM from a specific point in time.

Your Steps in Constructing the Right Solution 1.Determine what you want to backup. Files and folders? Applications? Entire virtual machines? 2.Determine from where you want to backup. Virtualization introduces perspective with backups. 3.Determine how you want to backup. Understanding backups means understanding VSS. 4.Determine with what will you backup. Native tools? Third-party solutions?

Step 1: What do you want to backup? Virtualization adds to the number of objects that could potentially be backed up. Files Folders Application objects Applications Operating systems Virtual machines Virtual host Virtual cluster Operating System Applications Files and Folders Hypervisor Virtual Host Storage

Hyper-V is Unique: The vSphere Architecture

Hyper-V is Unique: The Hyper-V Architecture

Step 2: From Where do you want to backup? Perspectives

Perspective Drives Backup Agent Location Agent in the Primary Partition

Perspective Drives Backup Agent Location Agent inside the Virtual Machine

Perspective Drives Backup Agent Location Agent within the Storage Layer

Perspective Drives Backup Agent Location Cluster Aware Agent

Some Perspectives Cant Deliver Greater granularity with some perspectives. Less granularity with others. Less backup/restore effort with some perspectives. More backup/restore effort with others. Some perspectives cant deliver on what you want to backup.

Step 3: How do you want to backup? Backing up just files and folders is easy. Everything else requires the assistance of the Microsoft Volume Shadow Copy Service, VSS. Originally used to create volume snapshots for user self-service restores. Remember the Previous Versions client? Now a major component of all application-aware backups.

VSS Enables the How VSS is a Windows service that interacts with installed applications… …to inform applications that a backup is about to occur. …to report when the backup is complete. …to instruct applications to perform post-backup tasks such as truncating logs and cleanup activities. The first job of VSS is quiescence. Quiescence = quieting. Coordinates backup jobs with applications to ensure successful backups without data corruption. The second job of VSS is coordination. Between applications, their data, and backup activities. Between backups and storage.

VSS Enables the How VSS is used when transactional-based applications installed to Windows servers require backups. Exchange, SQL, AD, Oracle, others… Virtual machines are a kind of transactional-based application. Virtual machines require quiescence for proper backup. Think of VHD files like little transactional databases. If anything changes in that database while youre backing it up, youll end up with corruption. Things are constantly changing in VDK files!

VSS Three Components, Single Server

VSS Three Components, Hyper-V

Disk Types Impact Backups Hyper-V can support many different types of disks. Different types require different backup approaches. Fixed-size VHDs Dynamically expanding VHDs Passthrough Disks iSCSI Direct Disks

Step 4: With what do you want to backup? Your options abound… Windows Server Backup Everything Else

Windows Server Backup, a Minimal Solution Windows Server Backup is Microsofts native solution for backing up Windows Server 2008/R2 and Hyper-V. Disk-to-disk backup solution. Designed for small environments, limited uses. Single-server focus. Disk Volume focus. No direct restorability for VMs. No direct restorability for files. No direct restorability for application objects.

VM Backup via Windows Server Backup Register the Hyper-V VSS Writer with WSB. Click Start, click Run, type regedit, and then click OK. Locate the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion Right-click CurrentVersion, point to New, and then click Key. Type WindowsServerBackup, and then press ENTER. Right-click WindowsServerBackup, point to New, and then click Key. Type Application Support, and then press ENTER. Right-click Application Support, point to New, and then click Key. Type {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, and then press ENTER. Right-click {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, point to New, and then click String Value. Type Application Identifier, and then press ENTER. Right-click Application Identifier, and then click Modify. In the Value data box, type Hyper-V, and then click OK. On the File menu, click Exit.

VM Backup via Windows Server Backup

DEMO: Windows Server Backup

WSBs Idiosyncrasies WSB must back up all volumes hosting VM files. If VM configuration files are on the D: volume… …and the VHD files are on the E: volume… …then you must back up both the D: and E: volumes. WSB can either dedicate a drive to backups, or it will overwrite old data with each backup. WSB cannot restore individual VMs. Cluster Shared Volumes cannot be backed up by WSB. VMs that contain two or more snapshots will not be automatically restored. Requires manual intervention.

VSS Idiosyncrasies Disk types impact backups! Passthrough disks cannot be backed up by the Hyper-V VSS writer. iSCSI Direct LUNs cannot be backed up by the Hyper-V VSS writer. iSCSI LUNs attached to the primary partition can be backed up. VMs that contain dynamic disks must be backed up offline. Saved State backups will cause periods of downtime. Saved State backups occur when VMs dont meet VSS requirements. Missing Integration Services Running OSs that lack VSS support Saved State downtime occurs during VSS snapshot creation. 26

Third Party Solutions, or, What WSB Got Wrong Boy, they sure didnt make it easy. Granular backup and restore. Minutes of RTO, not from yesterday. Changed block tracking Deduplication, and compression. Consolidation of perspectives. One solution for restoring files, folders, application objects, and virtual machines. One solution for backing up data, irrespective of disk type, connection, or location. Dead simplicity.

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 Youre an Expert? We will be happy to have you as Backup Academy contributor. Apply here.here Web: Twitter: BckpAcademyBckpAcademy Facebook: backup.academybackup.academy