rsync not backing up all files

Robert Nichols rnicholsNOSPAM at comcast.net
Wed Dec 18 15:05:38 UTC 2013


On 12/18/2013 06:56 AM, Robert Moskowitz wrote:
> $ rsync -ah --stats ./ /run/media/rgm/6XW1484R/lx120e.htt/rgm/backup-131218
>
> Number of files: 30174
> Number of files transferred: 25251
> Total file size: 34.93G bytes
> Total transferred file size: 34.93G bytes
> Literal data: 34.93G bytes
> Matched data: 0 bytes
> File list size: 776.54K
> File list generation time: 0.121 seconds
> File list transfer time: 0.000 seconds
> Total bytes sent: 34.94G
> Total bytes received: 499.44K
>
> sent 34.94G bytes  received 499.44K bytes  23.53M bytes/sec
> total size is 34.93G  speedup is 1.00
>
> ==================================================
>
> So the question is why were ~5k files NOT copied?  Properties on /home/rgm shows
> ~42GB disk used.

"Number of files" includes a lot of things (directories, symlinks) that are
not ordinary files.  See if "find . ! -type f | wc -l" gives you a number
that accounts for the difference.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.



More information about the users mailing list