Solved

VMware server backups

Posted on 2008-06-11
4
436 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
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
larstr earned 250 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 250 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

770 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