Solved

Strategy to backup a Virtualized Infrastructure

Posted on 2015-01-31
13
189 Views
Last Modified: 2016-02-25
Hi,
In a virtualized world the following things needs to be backed up:
Files / Folders
Applications / Application Objects
Operating Systesm
Virtual Machines
Virtual Hosts
Virtual Clusters
.... add anything else

then are we safe just by backing up VMs or we should continue to backup the traditional way (file / database backup) in order to achieve full recover-ability (Veeam v8 allows file level recovery).

For Example: If a machine is running SQL Server, taking a full VM backup and restoring will restore my SQL Server data as well. Assuming that daily backup is acceptable, is there a need of traditional SQL Server backup using SQL Server Agent?  How confident can one be about the SQL server database, when restoring the VM ... is there an integrity check at VM level backup?

Please throw light on backup strategies for backing of infrastructure running VMs hosting databases / web servers / AD / Exchange

Thanks
0
Comment
Question by:zen shaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 2
13 Comments
 
LVL 120
ID: 40581351
File and Folder backup, is old thinking, and designed for physical machines, in a virtual environment, it's quicker and more efficient to backup the entire VMs, which you can also use change block tracking to backup the VMs.

If you use an Application Aware Backup Application such as Veeam Backup and Replication, you have Change Block Tracking, and also application aware backups for AD, Exchange and SQL.

We tend to find, VMs are backed up for DR, and SQL Administrators also like to perform SQL backups seperately, which they backup more than once a day, which gives them flexibility, of being able to restore a VM, and then apply the latest SQL backup/restore.
0
 

Author Comment

by:zen shaw
ID: 40581384
Is it because they are using Application Aware Backup? Does it assure integrity of database as well?

While the full / increment backup is being done, does the VM stop any new connections / transactions?
0
 
LVL 120
ID: 40581405
Is it because they are using Application Aware Backup? Does it assure integrity of database as well?

Correct.

While the full / increment backup is being done, does the VM stop any new connections / transactions?

No.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 38

Expert Comment

by:Philip Elder
ID: 40581934
How complex is the infrastructure?

For simple setups we would deploy StorageCraft ShadowProtect in-VM to a variety of backup destinations.

For more complex and clustered setups we run SP in-VM or we look to Veeam to back up complex and clustered environments.

It all depends.

Our Disaster Recovery Planning includes:
 + Regular bare metal/hypervisor restores of backup sets
 + Instant On via ImageManager on ShadowProtect or Veeam (backup converted to live VM)
 + Spot recovery and/or granular recovery for everything (Exchange, SQL, SharePoint, Files, Folders, ETC)
0
 

Author Comment

by:zen shaw
ID: 40582823
I have a pretty simple infrastructure ... One VMware HA cluster with two HP server, two storage boxes, two firewalls all connected through VLAN via two Cisco switches.

I understood VM backups but how would I take Hypervisor backup using Veeam?  

@Philip ... the in-vm is again agent based backup ... is it not against the spirit of agent less virtualisation backups?
0
 
LVL 120
ID: 40582855
Which Hypervisor are you using ?

Veeam only backs up the VMs.
0
 

Author Comment

by:zen shaw
ID: 40582870
VMware ESXi 5
0
 

Author Comment

by:zen shaw
ID: 40582875
I installed the ESXi on a SD card but since it was a single point of failure, I changed that to run ESXi on a RAID 1 Directly Attached Storage ... so now my hosts boot from these RAID 1 Disks ....

Do I need to backup the Host / or its Config ... or it doesn't matter as in an even of complete disaster ... I can install new Host with new ESXi on it and restore the VMs?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40582881
ESXi on an SD card is not really a single point of failure, we've been installing on USB flash drives and SD cards since 2004, and we've not had a system fail yet!

Modern servers, now also have MIRRORED SD cards! - no SPOF!

Magnetic spinning disks, fail more than flash drives! Flash is used in most Cisco Routers, that are used in the Internet.

The SD card, usb flash disk, is only used at boot-up, to read the OS into memory, and then is memory resident, so very little  usage of an SD card in a server!

RAID 1 installs fail more, and are more trouble repairing than flash!

If you had installed on an SD card...

How to Backup an ESXi installation on an USB Flash Drive or SD card, for security or redundancy.

However, there is no need to backup the hypervisor, you only need to backup the configuration....Some organisations, just have good documentation, to follow, should they need to re-install, smart organisations, backup the configuration, after they've made changes, or daily backups of config.

We script daily backups of ESXi config!

To back up the configuration data for an ESXi host using the vSphere CLI, run the command:

vicfg-cfgbackup --server=ESXi_host_IP_address --username=root -s output_file_name

If you are using vSphere CLI for Windows, run this command:

vicfg-cfgbackup.pl --server=ESXi_host_IP_address --username=root -s output_file_name

source
Backing up and restoring ESXi configuration using the vSphere Command-Line Interface and vSphere PowerCLI (2042141)

All you need to do then is re-install ESXi, and then apply the configuration!
0
 

Author Comment

by:zen shaw
ID: 40582897
Thanks Andrew.

I always used SD until I was dwarfed by a Senior Consultant who suggested the RAID 1 (same guy who said VMs from Intel will not work on AMD hardware). At times I have to keep quiet :)

What details are stored in the Host Config? ... your article seems to backup current / default configuration, is there no need to backup regularly especially if new VMs are being created?
0
 
LVL 120
ID: 40582925
1. It depends how often you change the configuration of the HOST (not adding VMs!).

2. it depends on how tight and good your documentation is of the HOSTS.

e.g. vSwitch, virtual machine port groups, advanced configuration settings etc

you just need to backup the configuration files, these can be restore to a vanilla, virgin fresh installation of ESXi.

same guy who said VMs from Intel will not work on AMD hardware

Senior Consultant - well we all know he's wrong!
0
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40583028
I'm not sure about the "spirit of agentless backup" comment?

Veeam is an excellent backup solution. In an HA environment it very well can be the best direction to take. Since the dollars were already invested in HA then the same thought should go into the backup solution.

We've been backing up VMs on Hyper-V for a long time now using a guest-only methodology. We don't work with VMware so Andrew and others will have a lot more to say on that subject.
0
 

Author Comment

by:zen shaw
ID: 40598494
Hi,
I have used Veeam as a test trial and I guess I'll go with Veeam.

Thank you to both Philip and Andrew for their advice.

Regards,
Zen
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question