Solved

VMware server backups

Posted on 2008-06-11
4
434 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now