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

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


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


More information about the CentOS mailing list