Package: rsync
Version: 2.6.3-2
Severity: normal


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages rsync depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters

-- no debconf information

When rsyncing with a remote rsync daemon using the following script:

# This script is called daily from cron to mirror the overnight backups
# to file server

# The full paths of the programs used in this script
        rsync=/usr/bin/rsync
        mount=/bin/mount
        umount=/bin/umount

# Good rsync options for backups.
    rsync_opts="-av"

# The name of the file containing the rsync
# connection password
    password="--password-file=/etc/.rs_pass"


# Mirror the contents of /root/backup
# folder to Mars:/venus/mirror.  Dump
# any
# output and error messages to
# /var/rsync/Venus
     $rsync $rsync_opts $password /root/backup/ \
           file_server::mirror > /var/rsync/backup_server
                
the it fails with the following error:
rsync: writefd_unbuffered failed to write 4092 bytes: phase
"send_file_entry" [sender]: Broken pipe (32) ERROR: module is read only rsync 
error:
syntax or usage error (code 1) at main.c(555) rsync: connection unexpectedly
closed (4 bytes received so far) [sender] rsync error: error in rsync protocol
data stream (code 12) at io.c(359)

I use a similar script to perform daily back-ups which works fine

Regards

Clive


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to