VMware Cloud Community
touimet
Enthusiast
Enthusiast

HOW TO: Use VDR 1.2 to backup vCenter VM???

Has anyone been able to use VDR 1.2 to backup the vCenter VM? I have a script setup to shutdown all vCenter & SQL services before VDR takes a snapshot which apparently craps out the VDR backup.

Tags (1)
0 Kudos
6 Replies
MKguy
Virtuoso
Virtuoso

What kind of script do you use and what GuestOS does your vCenter run on?

Have you looked at the pre-freeze and post-thaw script possibilities provided by the VMware Tools? Check the vDR admin guide for that.

-- http://alpacapowered.wordpress.com
0 Kudos
wkloss
Contributor
Contributor

Why do you want to do that? Does VSS not work for you? I did nothing special and my backup with vdr works fine since 6 months

0 Kudos
vontexx
Enthusiast
Enthusiast

@wkloss

DataRecovery dosn't support Applications aware Backups (tell the application that is has been backed up so that it can clear its

transaction logs (i.e. use VSS to tell it that it has been backed up). So DO NOT backup SQL, Exchange, LDAP or Domain Controllers with DataRecovery only !!!

Read more here:

http://www.backupcentral.com/content/view/287/47/

0 Kudos
Goatie
Enthusiast
Enthusiast

Hi,

I've just moved to VDR 1.2 from using older VCB scripts and am doing my recovery documentation. Assuming our whole environment is down, our first step is to recover a new host, then a DC with DNS/DHCP/AD etc, then the vCenter server and DB server.

My first thought was to recover all this from VDR backups.

Your main question was about VSS etc... VDR will do this as long as you have the VMtools installed as it is VSS aware and will quesce the VM, so all is good doing AD, SQL or Exchange (VSS aware apps.)

- - - Note, if you're recovering all of your DCs from image backups, you must power on your last backed up DC all the way to the first backed up one.so that each powered on DC is progressively older and AD can 'catch up' or else you'll have a multi-headded AD enviornment where no DCs are talking with each other. = BAD NEWS.

The bit you haven't mentioned yet is how do you do a VDR recovery if you have no environment (aka total disaster)? VDR REQUIRES vCenter to even begin to do its first restore. So it's all well and good to be able to do a successful backup of your vCenter infrastructure, but you'll be unable to recover it using VDR!

You'll need to use separate Converter (it seems they've removed the built in Converter from vCenter, so you'll need to use the Stand-alone version) compatable recovery tool (such as BESR - Backup Exec System Recovery) to do image backups of your DCs and vCenter infrastructure.

Once that's up and running you can then use VDR to recover the rest of your virtual environment.

Basically, that's what we do.

Good luck!

0 Kudos
phykell
Enthusiast
Enthusiast

That's not right about *needing* vCenter to do a restore is it? As far as I'm aware, you can connect the vSphere client to the host running the VDR VM and restore VMs as you require. It's automated VDR activities which require vCenter to be running.

0 Kudos
Specialist929
Contributor
Contributor

phykell is right.  You don't NEED vCenter to do a VDR restore.  You can disassociate the VDR's target restore host from vCenter and then perform a restore with no problem.  Just use vSphere Client to connect to the host you want to disassociate, go to the summary tab, and check the "Host Management" section.  There should be a link to "Disassociate host from vCenter Server..."  This works whether vCenter is running or not.

I haven't tried restoring vCenter itself this way, but I think I'm going to give it a go now...

Using vSphere 5 and VDR 2.0.

0 Kudos