marxarelli / amlvm-snapshot

A plugin for Amanda that provides LVM snapshot-ing.
9 stars 6 forks source link

backup not mounted lvm volume #6

Open piotr-sikora-v opened 9 years ago

piotr-sikora-v commented 9 years ago

Hello,

First of all... Greate Job!

But I have small problem... I can't backup not mounted file system. Problem is in amgtar software... they need to calculate estimate but it try to do on /dev/vg0/some-lvm Ther is any option to give back to amgtar temporary location in /tmp of mounted LVM ?

Thanks in advanced!

piotr-sikora-v commented 9 years ago

I try to add

sub command_pre_dle_estimate {
    my $self = shift;
    $self->setup();
    $self->create_snapshot();
    $self->mount_snapshot();
    print "PROPERTY directory $self->{directory}\n";
}

in amlvm-snapshot ... and it's sending PROPERTY ... but tar always want to use /dev/vg0/some-lvm

I'am not AMANDA expert ... I just copy this from amzfs-snapshot