I have a 10TB XFS filesystem on a SLES 10.2 server. I am currently running rsync on it once per day, to sync it with a disk-based online backup on another server. The primary volume is quite busy as it is, and so rsync is only running at 2MB/sec on average. However, I can scp a file and get >50MB/sec to the same destination. This leads me to believe that rsync is overburdened with deciding what to transfer, not actually transfering.
What other ways can I achieve this type of synthetic full backup? What are the relative pros/cons of the following ideas:
Use
xfsdump, piped throughsshor similar, toxfsrestoreon the destination. Can it do incrementals when used in this way?Some of sort of asyncronous block replication using
drbdor similar.Some better use of
rsyncsuch as looser comparison criteria. I'm currently usingrsync -aqAX --numeric-ids --delete-during --files-from=foo ...
--files-from? not sure, but it could force the interaction between source and target to become more linear, and less efficient when deciding if a file should or shouldn't be transferred. – Javier Oct 19 '10 at 23:00