BackupPC-users

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

2010-02-12 16:01:13
Subject: Re: [BackupPC-users] BackupPC 3.2 - Possible bug with localhost backup
From: James Kyle <jameskyle AT ucla DOT edu>
To: questions and support General list for user discussion <BackupPC-users AT lists.sourceforge DOT net>
Date: Fri, 12 Feb 2010 12:58:18 -0800
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/

<Prev in Thread] Current Thread [Next in Thread>