Help!
i like to use rsync 'version 2.5.5 protocol version 26'
to sync some Volumes over the Network.
The Plan:
At some day there will be a FileServer called 'fileserver'
(the Master) and a FileServer called 'Yesterday'
'Yesterday' will always have the last night status from the
'fileserver' without any write access. So if the
fileserver fails or user delete there files (more likely)
there just login to 'Yesterday' and have there last day
Files with read-only access.
(there is more behind it but let me keep it simple fore
now)
The Problem:
rsync shows me >> send_files failed to open : No such file or directory
>> unexpected tag 25
and stops copying after some Volumes are done.
it looks to me like rsync has some troubles with the Mac
and MacOSX file and folder format.
can someone give me some help on this?
but take a look at the details:
---- from the terminal -----
[yesterday:~] admin% su
Password:
[yesterday:/Users/admin] admin# /rsync.sh
send_files failed to open : No such file or directory
unexpected tag 25
rsync error: error in rsync protocol data stream (code 12) at io.c(298)
rsync: connection unexpectedly closed (8271136 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
[yesterday:/Users/admin] admin# /rsync.sh
send_files failed to open : No such file or directory
unexpected tag 25
rsync error: error in rsync protocol data stream (code 12) at io.c(298)
rsync: connection unexpectedly closed (8271174 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
[yesterday:/Users/admin] admin#
---- end of from terminal ----
---- what rsync.sh looks like -----
#!/bin/sh
echo "Start rabas rsync Script" >> /BU.log.txt
echo "******************" >> /BU.log.txt
w >> /BU.log.txt
#
rsync -va --exclude-from=/exclude_from_Backup.txt -e ssh root@my.adress:/
Volumes/ /Volumes/yesterday/rsync/ >> /BU.log.txt
#
echo "** End rsync *****" >> /BU.log.txt
w >> /BU.log.txt
echo "******************" >> /BU.log.txt
echo "Start rabas chmod" >> /BU.log.txt
echo "******************" >> /BU.log.txt
#
chmod -R a-w /Volumes/yesterday/rsync/
#
echo "** End chmod ******" >> /BU.log.txt
w >> /BU.log.txt
echo "******************" >> /BU.log.txt
echo "End Script" >> /BU.log.txt
echo "******************" >> /BU.log.txt#
#
---- end of rsync.sh looks like ----
sorry, the w is a bad way to control the time the script needs.
i will fix this one day.
---- what the BU.log.txt File tells me -----
.... very long list ....
...somelongpath/Budget 98/Informatik-Budget 98/Projekte/
...somelongpath/Budget 98/Mobiliar-Budget 98/
** End rsync *****
2:05PM up 2:21, 4 users, load averages: 0.58, 0.21,
0.12
USER TTY FROM LOGIN@ IDLE WHAT
admin co - 11:45AM 2:20 -
admin p1 - 1:26PM 12 -
admin p2 - 1:33PM 12 -
admin p3 - 1:46PM 12 -
******************
Start rabas chmod
******************
** End chmod ******
2:05PM up 2:21, 4 users, load averages: 0.58, 0.21,
0.12
USER TTY FROM LOGIN@ IDLE WHAT
admin co - 11:45AM 2:20 -
admin p1 - 1:26PM 12 -
admin p2 - 1:33PM 12 -
admin p3 - 1:46PM 12 -
******************
End Script
******************
---- end of what the BU.log.txt File tells me -----
if you need any more information pleace let me know.
_____________________________________________________________
Ralph Bachmann
_____________________________________________________________