[mylvmbackup] Re: Rsync

Ok, I have setup the rsync daemon on a remote server and given it a module
name.  I can even rsync to it from the command line, but mylvmbackup keeps
failing when it tries to check if the directory exists.  For some reason, I
can't get this test to return True.

[root@db2 ~]# rsync web3::
mybackups       My Very Own Rsync Server
[root@db2 ~]# rsync -avWP /testingagain  web3::mybackups/backups
building file list ...
2 files to consider

sent 73 bytes  received 16 bytes  178.00 bytes/sec
total size is 12  speedup is 0.13
[root@db2 ~]# [ -d web3::mybackups/backups ] && echo "True" || echo "False"
False

On Tue, Jun 17, 2008 at 9:47 PM, Robin H. Johnson <robbat2@xxxxxxxxxx>
wrote:

> On Tue, Jun 17, 2008 at 09:39:04PM -0400, Davy Campano wrote:
> > Thanks Robin for the response!  Had one more question.  I've been doing
> some
> > research on rsync and in your setup I can tell "abd0" is the servername,
> but
> > I'm not sure what lvm-snapshot/mysql4 is.  Are they both part of the
> path?
> > Thanks again!
> 'lvm-snapshot' is the module name in /etc/rsyncd.conf.
>
> mysql4 is a directory under that.
>
> --
> Robin Hugh Johnson
> Gentoo Linux Developer & Infra Guy
> E-Mail     : robbat2@xxxxxxxxxx
> GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
>

Other related posts: