VMworld
5 Replies Last post: Sep 12, 2008 12:19 PM by Bob Kleiman  
Click to view Uelington Borth's profile Candidate 2 posts since
Jun 4, 2008

Jun 16, 2008 6:19 AM

Backup Virtual machines


Hi Guys I'm from Brazil... I started to work with WMware ESX 3.0 thee months ago. I have a lot of doubts about the best way to do the backup.

I'm find out the solution to backup and I saw many ways to do that. I would like to know whats the best way to do the backup ( virtual machines and ESX servers). I'm using IBM storage to virtual machines.


Thanks a lot

Click to view Ramprasad Padala's profile Candidate 5 posts since
Jun 10, 2008
1. Jun 17, 2008 5:17 AM in response to: Uelington Borth
Re: Backup Virtual machines

Best way would be, just to backup the .vmdk from SAN and keep back up of your VC server DB safely.


Ram

Click to view Balazs Gati's profile Candidate 1 posts since
Jun 17, 2008
2. Jun 17, 2008 1:46 PM in response to: Uelington Borth
Re: Backup Virtual machines

Hi,

Here is an article: Comparison of VI3 Backup Tools . I think you can choose your best solution.

http://vmprofessional.com/index.php?content=esx3backups

Balazs

Click to view Chris Day's profile Candidate 1 posts since
Jun 20, 2008
3. Jun 24, 2008 6:30 AM in response to: Uelington Borth
Re: Backup Virtual machines

I utilize vcb to do my backups. We use Syncsort's Backup Express as our backup solution of choice. The nice thing about this software is that I host the master server on a linux server which enables me to write backup scripts. The majore problem with vcb is that you can't just backup all your servers at one time unless you have an increadibly large amount of storage that the vcb copies can go to. I read that lots of people would schedule backups throughout the day, but that would not work for me, I need to get all my backups in at the same time due to the amount of space being backed up. What I did was create a bunch of backup jobs that would backup vm's but only to the size of my holding tank. I then took those backup jobs and threw them into a text file. I then put in my script in a for loop that would read the first line of text and run that backup job, as soon as the backup job is complete, the script moves to the next line in the text file causing the next backup job to kick off immediatly. This also ment that before my next backup job began, vcb would clean up the holding tank, and remove the vcb snap shot before the next backup started.

Here is a sample of my script, note that the variable for jobs is my text file that holds the name of the backup jobs to run.

#

  1. Runs backups in sequential order for vmware
#
for job in `cat $jobs`
do
cd /opt/backupexpress/bin
if $today == 1
then
$bkup -i$ini -c "backup run -n$job -tbackup_base -p365"
else
$bkup -i$ini -c "backup run -n$job -tbackup_base -p30"
fi
done
exit


I have also added a little logic, I have a variable that looks at the day of the month, and if the day of the month is the 1st, I keep the backup for 1 year "365 day's". If today is not the 1st then the backup is good for 30 day's. I hope this helps someone.

Click to view Robert Jones's profile Candidate 7 posts since
May 2, 2008
4. Sep 12, 2008 9:00 AM in response to: Uelington Borth
Re: Backup Virtual machines
For now, we just back up the files. Most of our VM's are file servers and web servers. It's easy enough just to create a new VM and dump the files back on to the VM. Turn on a few things and be done with it. We use CommVault to do our backups. It backs up the ACL's on everything so even on servers that have complicated permission sets, I don't need to worry about having to redo that. Just restore the files to a new VM.
Click to view Bob Kleiman's profile Candidate 2 posts since
Jun 25, 2008
5. Sep 12, 2008 12:19 PM in response to: Uelington Borth
Re: Backup Virtual machines
I am just completing my vRanger install for backing up the VM's and I have to say (other than the amount of dataspace required) I am very happy with that product. It allows me to backup throughout the day without having to create a backup window ( I work in healthcare our backup window is tiny). The only downside I have is the amount of storage space I need to move the snapshots on my SAN for the backups to be created.
-->