Re: amraw

Chapman Flack <[email protected]> Wed, 28 Nov 2018 10:07:21 -0500
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
On 11/28/18 2:14 AM, Olivier wrote:

> I am using amraw as a skeleton to develop a MySQl plugin (and hopefully
> a VMware one later).

These are the exact sorts of projects that can be much simplified
by the work in pull request #78

  https://github.com/zmanda/amanda/pull/78

(which I mistakenly called #11 in an earlier email, sorry ... it's
the 11th open PR at the moment).

The PR also includes an amlibvirtfsfreeze script, which can be
used for freezing/thawing and trimming filesystems mounted in VMs,
in preparation for backups. Its man page starts on page 24 of


https://github.com/zmanda/amanda/files/1265069/AppScriptWithAbstractClasses.pdf

(there has been further development since that pdf was attached to
the pull request; the up-to-date man pages are in the source, but the
pdf gives a good idea).

Being implemented on libvirt, that script should work with any
hypervisor for which a libvirt driver and guest agent exist.
There apparently is a libvirt driver for VMware:

  https://libvirt.org/drvesx.html

though I am not sure if it includes a guest agent. If not, the
script won't be directly usable but could still serve as an example.

-Chap