Am 2017-02-13 um 21:18 schrieb J Chapman Flack:
> On 02/13/2017 02:47 PM, Debra S Baddorf wrote:
> 
>>> If that would work per DLE it would be nice.
>>> Something like a dumptype-parameter ;-)
> 
>> Yes, that’s a built in thing,  but yes it affects the whole dump run.
> 
> I might suggest an addition to the Script API so that a
> pre-dle-estimate or pre-dle-backup script can report back
> a special status (like "try again in N minutes").
> 
> Then it'd be easy to just write a script for a particular DLE
> that will check whatever is appropriate, and decide when to
> proceed.

I agree.

Aside that I found a more advanced fork of the virt-backup-script with
an interesting approach:

https://github.com/vazhnov/virt-backup.pl

The dev there adds some feature to mount the LV-snapshot via the chunkfs
binary so that the backup program is able to dump it chunk by chunk.

I have no experience with chunkfs and a quick google doesn't make me
feel as if that fs would be very commonly used these days.

nice approach, though.

He also has added an option to add the date to the dumped backup. Adds
possibilities as well.

--

The coolest solution would be to somehow convert this outdated
virt-backup.pl into an amanda application, right? ;-)

Unfortunately I am not cool enough to do that, afaik.

I think the easiest trick will be to add some move or link to the script:

after dd is done, link the new images to something like
"amanda_vmX_diskY.img" and edit the DLE to include those only.

Although this isn't perfect yet: this wouldn't make amdump *wait* for
todays dump, but sometimes dump yesterday's virt-backup and the other
day dump the virt-backup from today.

-

The suggested enhancement with a "wait for n minutes" would be way nicer.

Reply via email to