[CentOS] [rsync -avz] total size/disk usage difference between source and destination

Tue Nov 4 02:08:50 UTC 2008
Les Mikesell <lesmikesell at gmail.com>

Sven wrote:
> Thanks for feedback.
> 
> After doing a little bit research I found that the application (Apache
> Tomcat) and backup (Veritas NetBackup) was running during the copy
> job.
> 
> What influence have a running Tomcat and NetBackup on rsync?
> What rsync (running as root) do if there are read-only files?

That's generally not a problem, but you'll get a snapshot of changing 
files, like growing logfiles, and if a file is deleted while still open 
it will still consume space on the source as seen by 'df' until the 
application closes it or exits but it won't be copied.

-- 
   Les Mikesell
     lesmikesell at gmail.com