Hi
I have got 2 NAS devices and I want to set up a nightly rsync backup from NAS1 to NAS2.
On NAS1 I have the rsync script working fine if I start it from command line.
(> /ffp/bin/snapshotMYBOOKWORLD.sh)
No problems with ssh password etc.
However, if I run the script via a crontab entry, I get rsync errors.
What causes the script to fail?
This is the rsync error I get
20110828_040508
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.5]
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync error: error in IPC code (code 14) at io.c(1509) [sender=3.0.5]
20110828_040509
This is my crontab:
root@DLINK:~# crontab -l
32 2 * * * /usr/sbin/rtc -s
30 2 2 * * /usr/sbin/rtc -c
59 1 * * * /usr/sbin/daylight &
5 2 * * * /ffp/bin/snapshot.sh
5 2 * * * /ffp/bin/snapshot.sh
5 4 * * * /ffp/bin/snapshotMYBOOKWORLD.sh
root@DLINK:~#
This is the backupscript
root@DLINK:~# ls -l /ffp/bin/snapshotMYBOOKWORLD.sh
-rwxrwxrwx 1 root root 806 Aug 21 11:56 /ffp/bin/snapshotMYBOOKWORLD.sh
Hope someone can help me!

Regards
Frank
Recent comments
6 hours 42 min ago
13 hours 23 min ago
17 hours 13 min ago
18 hours 52 min ago
1 day 3 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 21 hours ago
1 day 21 hours ago