rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Works manually, but not w/ cron


From: Joe Steele
Subject: Re: [rdiff-backup-users] Works manually, but not w/ cron
Date: Tue, 20 Oct 2009 16:38:01 -0400
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Per "man 5 crontab":

The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (\), will be changed into new-line characters, and all data after the first % will be sent to the command as standard input.

--Joe

On 10/20/2009 11:43 AM, Bryan Vicknair wrote:
The following command in cron gives me a quotation error.  Do I have
the --remote-schema argument wrong?:

Cron entry:
------------------
0 0 * * * sudo /usr/bin/rdiff-backup --print-statistics
--exclude-globbing-filelist /home/bry/backup/vic/exclude
--remote-schema "/usr/bin/ssh -C -i /home/bry/.ssh/id_rsa %s
/usr/bin/rdiff-backup --server" address@hidden::/home
/home/bry/backup/vic/home

Error
-------------------
/bin/sh: Syntax error: Unterminated quoted string




reply via email to

[Prev in Thread] Current Thread [Next in Thread]