Hi folks,
at first I'm _not_ subscribed so please reply to the ML and to me.
I'm trying to set up rsnapshot to use a different rsync command because
a direct root-Login is not possible. The configuration file contains this:
rsync_long_args --delete --numeric-ids --relative --delete-excluded
--stats --rsync-path="sudo /root/admin/web/scripts/wsafe.rsync"
All in one line and a tabulator after rsync_log_args. When I run
Rsnapshot with -t it shows the right rsync-command:
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
--stats --rsync-path="sudo /root/admin/web/scripts/wsafe.rsync" \
--exclude=/tmp --exclude=/proc --exclude=/sys --exclude=/dev \
--exclude=/lost+found --rsh=/usr/bin/ssh \
user < at > web1:/var/spool/cron/crontabs \
/var/cache/rsnapshot/web1/daily.0/./
But running rsnapshot gives me this error:
rsync: link_stat "/root/admin/web/scripts/wsafe.rsync"" failed: No such
file or directory (2)
rsync: link_stat "/root/user < at > web1:/var/spool/cron/crontabs" failed: No
such file or directory (2)
When I run the above command manually(cut&paste) it all works fine. Am I
missing something? Any help would be much appreciated.
Cheers, Markus
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
