?
Solved

VMware server backups

Posted on 2008-06-11
4
Medium Priority
?
441 Views
Last Modified: 2013-12-01
Is it possible to backup the running VMs (image backups) using Veritas Backup Exec 11 running on a VMware Server (free version)?  Is this anything more than the virtual hard disk and config files using the open file agent?
0
Comment
Question by:ENTPF
[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
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
larstr earned 1000 total points
ID: 21766488
The safest method to take an image backup is to create a script that shutdowns the VM before the backuo starts and powers it on afterwards. You can also use suspend/resume of the virtual machine instead if you want.

This because if you take a snapshot of a running VM in VMware Server you wont be able to commit it without powering off the VM (like you can on ESX).

There are still some backup scripts that try to take advantage of LVM snapshots (on linux) and Shadow Copy (windows), but these image backups are not as reliable and the image files will be in an inconsistent state.

Linux: http://computing.dwighthubbard.info/index.php/software/vmware-server-backup/
Windows: http://communities.vmware.com/message/809422

The open file option for BE is probably also using the Shadow Copy service.

Good luck!

Lars
0
 
LVL 11

Assisted Solution

by:jfields71
jfields71 earned 1000 total points
ID: 21770494
See this also: http://4sysops.com/archives/life-backup-of-a-virtual-machine-on-vmware-server-with-symantec-backup-exec-using-the-open-file-option/

As larst mentioned, the backups are crash consistent when backed up in this manner.  Many people disagree whether this is a suitable backup.  I think it is fine, as long as you are using file level backups to backup your critical files inside the VMs.  This gives you image and file level backups.  Two backups are better than one. :)  Each OS has different tolerances for having the power cord pulled when running.  Roughly, this is what the VM thinks happened when you restore from a crash consistent backup.

I highly recommend using the conventional approach with VMware Server and putting a BE agent in each VM.  
0
 
LVL 1

Expert Comment

by:netstaff
ID: 21806382
The only way to backup the vmdk's while the machine is running is to use vmware consolidated backups. With this vmware provides scripts that create snapshots of the disks and mounts those snaps to a different location and then backs up from that location allowing the vmdk's to backup without shutting the machine down.

without this you will need to shut the box down and then backup the files with whatever backup software you use.

0
 
LVL 18

Expert Comment

by:larstr
ID: 21806462
Netstaff,
ENTPF is using the free VMware Server and VCB is not available there.

Lars
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

765 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