[mylvmbackup] Re: Rsync

>Probably, but in our case it's rsync that should take care of that.
>The position file should first be created on the local snapshot -
>I assume that you messed up a path name.

Maybe I'm missing something, but it looks like the position file is trying
to be created on the remote directory and not the snapshot:

my $posdir = $backupdir.'/pos';

my $date= time2str($datefmt, time);
my $pos_filename = $posdir.'/'.$prefix.'-'.$date.'_mysql.pos';

In my case $backupdir is "web3::mybackups/backups"

Then in line 413 it tries to open that file on the remote machine:

open $pos_file, ">$pos_filename"

Other related posts: