"command not found" errors sound like you don't have the rsync package installed.

Check if you have it by seeing the output of rsync --version

Kurup.


On Mar 20, 2006, at 10:16 PM, Ahmed Ndaula wrote:

Hi Folks,

I have just configured my backup system using the rsync. I have succeeded
in  configuring a passwordless connection to my remote server. But the
problem I am getting now, is where I have to create the rbackup.sh. I have
created this script and made it executable by running this command
chmod +x rbackup.sh but when I run ./rbackup.sh, it returns a couple of error and I am wondering where I am going wrong. Below is the error that I
get when I run ./rbackup.sh;

:command not foundbackup.sh: line 1:
:command not foundbackup.sh: line 5:
:command not foundbackup.sh: line 8:
:command not foundbackup.sh: line 11:
:command not foundbackup.sh: line 14:
:command not foundbackup.sh: line 17:
:command not foundbackup.sh : line 21:
:command not foundbackup.sh: line 32:
:command not foundbackup.sh: line 35:
:command not foundbackup.sh: line 39:
' home/iearn/rsync/rbackup.sh: line 53 syntax error near unexpected token 'do
' home/iearn/rsync/rbackup.sh: line 53: 'for source in $SOURCES; do

and line 53 appears as follows in the rbackup;

echo "Verifying Sources..."
for source in $SOURCES; do
    echo "Checking $source..."
    if [ ! -x $source ]; then
     echo "Error with $source!"
     echo "Directory either does not exist, or you do not have proper
permissions."
     exit 2
   fi
done

Any help is appreciated.


--
Ndaula Ahmed
WEC Volunteer
iEARN-US
475 Riverside Drive, Suite 450
New York, NY 10115
Fax: 212-870-2672
Off: +1-212-870-2693 Ext. 2691
Home: +1-212-316-8510
Mob: +1-646-3010-275
Email: [EMAIL PROTECTED] /   [EMAIL PROTECTED]
Blog: http://www.ahmed.wecblogs.org

-----------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2/10/2005
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------



_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to