Venkatesh.S
2005-Aug-31 12:06 UTC
difference between src and destination sizes when rsync was run
hello all, i have two machines, one is a rsync server and another is rsync client when i run the rsync client for backup, the src dir is showing 4.8G and the destination dir to which i am backingup is showing 5.5G can anyone tell me why is this. thank u all regards venkatesh -- Venkatesh.S lin2ven@speedpost.net -- http://www.fastmail.fm - Email service worth paying for. Try it for free
Paul Slootman
2005-Aug-31 12:34 UTC
difference between src and destination sizes when rsync was run
On Wed 31 Aug 2005, Venkatesh.S wrote:> i have two machines, one is a rsync server and another is rsync client > > when i run the rsync client for backup, the src dir is showing 4.8G and > the destination dir to which i am backingup is showing 5.5G > can anyone tell me why is this.Filesystem differences will do this, if your filesystem rounds up to e.g. 8k blocks for file allocation, then 1000 files of 1 byte will show 8MB; another filesystem that doesn't waste space like that (e.g. reiserfs with tail option) will show a few k. Paul Slootman
agow
2005-Aug-31 12:35 UTC
difference between src and destination sizes when rsync was run
Venkatesh.S wrote:>hello all, > >i have two machines, one is a rsync server and another is rsync client > >when i run the rsync client for backup, the src dir is showing 4.8G and >the destination dir to which i am backingup is showing 5.5G >can anyone tell me why is this. > >thank u all > >regards >venkatesh > >What command are you using to rsync? do you have the --delete option included, if not, files deleted on the src side will remain on the destination thus leaving one bigger than the other.
Wayne Davison
2005-Sep-01 00:40 UTC
difference between src and destination sizes when rsync was run
On Wed, Aug 31, 2005 at 05:06:47AM -0700, Venkatesh.S wrote:> when i run the rsync client for backup, the src dir is showing 4.8G and > the destination dir to which i am backingup is showing 5.5G > can anyone tell me why is this.In addition to the other replies, if some of the files are hard-linked together on the source side, you need to use -H to get them hard-linked on the destination side (which saves space). ..wayne..