Solved

VMware server backups

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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 walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 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