BackupPC-users

Re: [BackupPC-users] BackupPC 3.2 - Possible bug with localhost backup

2010-02-13 01:43:35
Subject: Re: [BackupPC-users] BackupPC 3.2 - Possible bug with localhost backup
From: Luis Paulo <luis.barbas AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 13 Feb 2010 06:42:17 +0000
So you just remove the "+" when not using ssh? Is that it?

thanks

On Fri, Feb 12, 2010 at 8:58 PM, James Kyle <jameskyle AT ucla DOT edu> wrote:
To answer my own problem, from the docs:

> If a variable is followed by a "+" it is shell escaped. This is necessary for the command part of ssh or rsh, since it ends up getting passed through the shell.

-james
On Feb 12, 2010, at 10:20 AM, James Kyle wrote:

> Morning,
>
> I think I've found a bug in BackupPC 3.2 (beta0 and beta1). I seem to recall this being an issue in BackupPC 3.1 as well.
>
> If you do not tunnel over ssh, local backup paths with spaces fail due to both quoting and escaping.
>
> For example:
>
> /path/with space/in it/
>
> $Conf{RsyncClientCmd} = /usr/bin/sudo $rsyncPath $argList+
>
>
> rsync attempts to change directory into "/path/with\ space/in\ it/"
>
> The double quotes cause the \ to be interpreted literally as well as the space. Here's a typical error entry in XferLOG.bad.z:
>
> Remote[1]: rsync: change_dir "/path/with\ space/in\ it/" failed: No such file or directory (2)
>
> Cheers,
>
> -james
>
>


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>