ESXi backup solution?

Status
Not open for further replies.

Nick H

Seniorius Lurkius
49
A bit of background: I work for a small financial institution which is just starting to try out virtualization. ESXi becoming free couldn't have better timing. High-availability doesn't matter too much for most of our servers, our financial platform is on IBM pSeries, and it's the only system which requires 24x7 operation. Everything else doesn't need HA, as long as it can be resurrected quickly in the case of a hardware failure. (Think document archiving, CRM, etc)

We'll probably start drinking the VMware infrastructure koolaid next year, holding off due to the yearly budget cycle. But until then, I need to find a backup solution.

I'm very unclear how backing up ESXi datastores will work. I know of several vendors (esxRanger, etc) that offer backup solutions, but I can't seem to confirm if any of them will work with vanilla ESXi hosts.

Anyone have experience with this?
 

osmodiar

Wise, Aged Ars Veteran
177
Subscriptor
You don't NEED to use a purpose-built VM backup tool. You can backup any guest OS directly, using common LAN-backup agents. This is simple to deploy, as it conforms with previous backup methods your company probably already uses.

Where you run into problems with this approach is I/O constraints of running consolidated virtual machines that don't typically have high LAN requirements backing up simultaneously.

If your schedule allows, you can just organize your backups around this. Otherwise, you should look into tools like Vizioncore and the ilk.
 

Nick H

Seniorius Lurkius
49
Yeah, I'm aware that guest-level backups are an option, and we'll keep backing things up that way as well.

However, VM-level backups are very appealing to us because of the quick restoration time in case of hardware failure.

With the ESX SDK being open, I'm hoping that there is some simple solution out there to backup snapshots from the datastore. It's http accessible, so perhaps it's possible to script it...
 

LoneBagel

Well-known member
1,473
Subscriptor
Originally posted by Nick H:
Originally posted by Wes Felter:
Where are your VMs stored? NFS, VMFS SAN, RDM SAN, local disk?

Local disk. Perhaps we'll move to NFS in the future, but for now the datastores are local.

Same here. I have a server with about 1.2TB of internal space on a RAID5, which I have carved into a couple independent VMFS datastores. I was concerned about performance at first but I am only running three VMs on it that are not I/O intensive aside from booting so I am not bound by disk for now.

I am very curious how to copy the vmdk files off the datastores. I did find a couple hits on Google such as this one which seem to indicate that the Converter util is a way to do so. I was hoping there might be a more direct way such as via NFS to the host.

edit: removed cut-and-paste detritus
 

Wes Felter

Ars Scholae Palatinae
1,042
Originally posted by Nick H:
Originally posted by Wes Felter:
Where are your VMs stored? NFS, VMFS SAN, RDM SAN, local disk?

Local disk. Perhaps we'll move to NFS in the future, but for now the datastores are local.

The worst option. In regular ESX I think you can backup from the service console. In ESXi your only options may be VCB (I hope you like Windows) or the remote CLI (sounds kludgey).
 

LoneBagel

Well-known member
1,473
Subscriptor
Originally posted by Wes Felter:
Originally posted by Nick H:

Local disk.

The worst option. In regular ESX I think you can backup from the service console. In ESXi your only options may be VCB (I hope you like Windows) or the remote CLI (sounds kludgey).

Ok, so barring laying out for ESX and possibly VMotion it sounds like if you do not want to use VCB or Converter then the best options are:


  • stage datastores on an NFS server
  • Fibre-channel/iSCSI to a NetApp or equivalent which can do LUN Cloning
  • Find something that can mount VMFS, pull drives, and copy, or use dd in Linux.


Obviously the first item is probably the cheapest and easiest!
 
D

Deleted member 1

Guest
Originally posted by jarends:
Originally posted by RicDavis:
You can copy them from the virtual infrastructure client. The filestore browser has toolbar icons to copy files to/from a datastore.

How do you get into the filestore browser? Stupid question but I've spent a lot of time in the VI client and haven't seen it.

Just need to right-click the datastore...
 

M. Jones

Ars Tribunus Angusticlavius
9,988
Originally posted by The Troubleshooting Ninja:
I am very curious how to copy the vmdk files off the datastores. I did find a couple hits on Google such as this one which seem to indicate that the Converter util is a way to do so. I was hoping there might be a more direct way such as via NFS to the host.

On ESX you can just copy the files to the NFS mount as you would copy any file. The *.vmdk and *-flat.vmdk are the critical ones for a new VM, but as I found out recently it's more complicated than that, and you'll probably want to copy the whole directory anyway. Pushing the envelope is a learning experience so I'll sit down soon and find out which file(s) I didn't migrate caused the blowup.
 

jshiplett

Ars Tribunus Angusticlavius
6,710
Subscriptor
Originally posted by Wes Felter:

The worst option. In regular ESX I think you can backup from the service console. In ESXi your only options may be VCB (I hope you like Windows) or the remote CLI (sounds kludgey).

VCB works with Linux guests, just not file-level backups. Image-level backups work fine.

In my limited use of the RCLI with ESXi, it certainly isn't as full-featured as the COS, but I wouldn't describe it as "kludgy." Maybe you have some experience that would indicate otherwise?
 

kcpoole

Seniorius Lurkius
1
Originally posted by euri:
Originally posted by Wes Felter:

The worst option. In regular ESX I think you can backup from the service console. In ESXi your only options may be VCB (I hope you like Windows) or the remote CLI (sounds kludgey).

VCB works with Linux guests, just not file-level backups. Image-level backups work fine.

In my limited use of the RCLI with ESXi, it certainly isn't as full-featured as the COS, but I wouldn't describe it as "kludgy." Maybe you have some experience that would indicate otherwise?

Maybe a Dumb Question is what is 'VCB" ?
I have this Exact requirement as I am also testing ESXi but need to copy / Backup Virtual machines during the process

Ken
 

akro

Ars Scholae Palatinae
1,309
Basically in a shared storage environment VCB takes a snapshot of a running VM and either mounts the vmdk for file level backups (Windows only) on another box (the VCB proxy) or give you the VMDKs to backup on the VCB proxy as an image level backup of the VMDK. It is for high perfomance backups that don't put a load on the VM\ESX node. Think of it like a traditional BCV hostless backup for VMWARE.
 

Areos

Seniorius Lurkius
1
hi guys i am interested in using ESXi the free edition but i'm also having trouble with the idea of backups, anyone of u know how to do a backup on this thing??.

I read all about VCB (consolidate backup) but sadly its not free and also it represents a horrible trick to the licensing (getting it trial and using it). So i wonder if there's another way in which u could back things up, i was interested in ESXpress but as people say its not readily available yet.

Also i would love to be able to backup in a hot mode without having to turn the VMs off so any ideas?
 
Status
Not open for further replies.