rsync using huge traffic

Ben Oswald benoswald at benoswald.de
Mon Dec 3 09:46:17 MST 2012


Hey,

I've tested your advise for a few days now but is seems like the
problem isn't solved. The traffice is now lower, about 15GB per backup,
but still 4 times bigger than the whole data on the server. Is there an
other option of rsync I can give a try.

Regards,

Ben Oswald


Am Thu, 29 Nov 2012 09:31:45 +0100
schrieb "Greg Deback (rsync)" <greg.deb+rsync at gmail.com>:

> Hello,
> 
> First things I'm thinking of is :
> 1. Do you have inside your backup tree some links that point outside
> the filesystem ? (ie. some mounted folder) If so, add the -x flag
> (don't cross filesystem boundaries)
> 2. Do you have some hard links inside your tree that may create
> recursive loops ? If so, try with the -H flag too (preserve hard
> links) That would lead to -xHaze 'ssh ...'
> 
> Greg
> 
> 
> On Thu, Nov 29, 2012 at 9:24 AM, Ben Oswald <benoswald at benoswald.de>
> wrote:
> 
> > Hey,
> >
> > I'm using rsync to backup my server but there is a problem because
> > rsync is using very huge amounts traffic. But first to the setup.
> > The server I backup has 4GB of data and I use the following command
> > to backup this data.  /usr/bin/rsync -aze 'ssh
> > -i /root/.ssh/backup.key -l backupuser' --rsync-path='sudo rsync'
> > --delete --exclude-from=ex.list $SRC $TRG
> >
> > The problem is that the traffic generated to backup these 4GB of
> > data is often (yes not every time I backup) up to 200GB and more if
> > I don't stop the process. Rsync it self is showing me not more than
> > 4GB of transmitted data at the end of the rsync call.
> > So is there a known reason for this behaviour of rsync and if yes
> > how can I solve this problem?
> >
> > Best regards,
> >
> > Ben
> > --
> > 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
> >



More information about the rsync mailing list