logo       

Re: ssh_args: msg#00033

sysutils.backup.rsnapshot.general

Subject: Re: ssh_args

On Thu, 2006-07-13 at 13:29 +1000, David Keegel wrote:
> Cole,
>
> I think your problem is with this part:
> --rsync-path='sudo /usr/bin/rsync'
> of rsync_long_args.
>
> Rsnapshot (up to and including 1.2.9) does not recognise quotes when
> breaking up the arguments into words, so the list of words fed to exec
> probably looks like this:

[snip] Ok - this makes sense.

> But instead of using the CVS version or waiting for the next version, I
> would suggest the easiest thing is for you to create a shell script that
> just consists of
> sudo /usr/bin/rsync "$@"
> and use that shell script as your --rsync-path.

Fantastic! That did the trick! You get the official designation of "My
Best Friend" today. 8)

> You might also want to use rsnapshot version 1.2.9 which is available
> in Debian "testing" (since 2006-06-20) rather than 1.2.1 (in "stable").

What would this gain me over 1.2.1? I'm very hesitant to mix and match
repositories...


--
Cole Tuininga <colet@xxxxxxxxxxxxxxx>
Code Energy (http://www.code-energy.com/)



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise