Bacula-users

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

2013-02-02 19:05:20
Subject: Re: [Bacula-users] Backup ESXi Virtual Machines with SCP
From: "Michael D. Wood" <mike AT itsecuritypros DOT org>
To: "Tilman Schmidt" <t.schmidt AT phoenixsoftware DOT de>, bacula-users AT lists.sourceforge DOT net
Date: Sat, 02 Feb 2013 19:02:41 -0500
Good info to have Tillman.  I'm going to give this a shot, and looks like an easy way to do it.

--
Sent from my phone

----- Reply message -----
From: "Tilman Schmidt" <t.schmidt AT phoenixsoftware DOT de>
To: <bacula-users AT lists.sourceforge DOT net>
Subject: [Bacula-users] Backup ESXi Virtual Machines with SCP
Date: Sat, Feb 2, 2013 6:21 PM


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

------------------------------------------------------------------------------
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
<Prev in Thread] Current Thread [Next in Thread>