Bacula-users

Re: [Bacula-users] Backup ESXi Virtual Machines with SCP

2013-02-02 18:24:11
Subject: Re: [Bacula-users] Backup ESXi Virtual Machines with SCP
From: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 03 Feb 2013 00:21:05 +0100
Am 02.02.2013 12:45, schrieb Adrian Reyer:
> On Fri, Feb 01, 2013 at 06:45:43AM -0500, Michael D. Wood wrote:
>> If its useful to you or you can fit it to your needs, here it is.
>> http://www.itsecuritypros.org/backup-esxi-virtual-machines-with-scp/
> 
> I actually don't have an active ESXi setup atm, but other solutions.
> Might be I don't understand ESXi way of things. However, I have not seen
> a statement there for shut down hosts or anything that prevents the image
> from beeing changed.

The easiest way to make sure you get a consistent backup would be
to take a snapshot. You can even do that from a script, by running
the appropriate vim-cmd command on the ESXi host via ssh. PMVCB
(https://github.com/pbertera/pmvcb/blob/master/README.md) does this.

In fact I take image backups of ESXi VMs with bacula is this:
- I created an NFS export on my Bacula server,
- mounted that as a datastore called "Backup" on my ESXi hosts,
- Bacula calls PMVCB as RunBeforeJob to make an image backup of the
  VM on the "Backup" datastore,
- and then backs up that directory.
That avoids the overhead of SSH, as the result of PMVCB is already
on the backup server from where it can be written directly to tape.

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users