rsync on Debian Lenny exit codes

Boniforti Flavio flavio at
Tue Feb 10 07:49:06 GMT 2009

Hello list.

I'm posting here although I'm actually running rsync from within
rsnapshot, but the problem is really rsync-related.

I've set up remote backups: remote client to backup from is Windows
Server 2003 with sshd and rsyncd running, local server is Debian Linux
(Lenny) with rsnapshot configured to use an ssh tunnel.
My command line is this one:

ssh -f administrator at -L 8873: sleep 10;
rsnapshot -c rsnapshot.conf daily > /var/log/rsnapshot/rsnap.log

What I got in my last backup is:

      266908  12%   40.71kB/s    0:00:41
      463606  21%   25.70kB/s    0:01:05
      660380  31%   25.80kB/s    0:00:57
      873531  41%   29.00kB/s    0:00:45
     1004788  47%   26.04kB/s    0:00:42  /usr/bin/logger -i -p user.err
-t rsnapshot /usr/bin/rsnapshot -c \
    rsnapshot.conf daily: ERROR: /usr/bin/rsync returned 12 while \
    processing localhost::Ufficio/
/usr/bin/rsync -rltzv --port=8873 --delete --numeric-ids
--delete-excluded \
    --stats --progress localhost::Waliha/ \
/usr/bin/logger -i -p user.err -t rsnapshot /usr/bin/rsnapshot -c \
    rsnapshot.conf daily: ERROR: /usr/bin/rsync returned 10 while \
    processing localhost::Waliha/

So, there was first an exit code "12" and immediately after this an exit
code "10": what could be the problem there?

Thanks in advance and kind regards,
Flavio Boniforti

Via Ballerini 21
6600 Locarno
Phone: +41 91 751 68 81
Fax: +41 91 751 69 14
E-mail: flavio at 

More information about the rsync mailing list