Matt McCutchen
Sun, 07 Feb 2010 14:46:00 -0800
On Fri, 2010-02-05 at 19:31 +0100, Michael Renner wrote: > I wrote a small backup script that use rsync: r5backup > (http://sourceforge.net/projects/r5backup/). It backup dozen of unix machines > for many people. > But when I try to backup /var/lib/zope2.9 I get an error 11. It does not > matter if zope is running or not. > > I can't see an error meassge in the (verbose) logfile: > [client] parse_filter_file(/etc/r5backup/profiles/boulder.exclude,0,3) > [client] add_rule(- dvd/) > [client] add_rule(- tmp/) > [client] add_rule(- *.vdi) > opening connection > using: /usr/bin/ssh -i /etc/r5backup/ssh-keys/id_dsa_cassiopeia -p 22 -o > StrictHostKeyChecking=no -o ConnectTimeout=60 -l root boulder.mtr.mynet r > sync --server --sender -vvvlWogDtprze.iL . /var/lib/zope2.9 > receiving file list ... > [sender] add_rule(- dvd/) > [sender] add_rule(- tmp/) > [sender] add_rule(- *.vdi) > server_sender starting pid=23358 > [sender] make_file(zope2.9,*,2) > recv_file_name(zope2.9) > [sender] make_file(zope2.9/zeo,*,2) > recv_file_name(zope2.9/zeo) > [sender] make_file(zope2.9/myextensions,*,2) > recv_file_name(zope2.9/myextensions) > [sender] make_file(zope2.9/instance,*,2) > recv_file_name(zope2.9/instance) > [sender] make_file(zope2.9/myextensions/CMF-1.3.3,*,2) > recv_file_name(zope2.9/myextensions/CMF-1.3.3) > > [many similar line without an error meassage removed] > > [sender] > make_file(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-linguaplone-zh-hk.mo,*,2) > recv_file_name(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-linguaplone-zh-hk.mo) > [sender] > make_file(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-archetypes-bn.mo,*,2) > recv_file_name(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-archetypes-bn.mo) > received 8387 names > done > recv_file_list done > get_local_name count=8387 /space/r5backup/boulder/1265202994//var/lib > _exit_cleanup(code=11, file=main.c, line=594): about to call exit(11)
It looks like you have captured only the stdout of rsync and not the stderr. (It's extremely unlikely that rsync would get through exit_cleanup without printing messages other than those seen above to stderr.) Be sure to redirect stderr along with stdout, or use rsync's --log-file option. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html