From: Les Mikesell <les@fu...> - 2006-07-29 17:09:16
On Sat, 2006-07-29 at 04:42, Joachim Sturm wrote:
> Please, what is better tar or rsync, and why?
It depends on your circumstances. Tar full runs transfer
the entire backup over the network where backuppc's pooling
feature will discard much of it. Tar incremental runs are
based on timestamps only, and will miss old files under
directories that have been renamed - so you need to do
full runs moderately often. Rsync transfers only the
differences from the previous full over the network but
it loads the entire directory into memory before starting
and may have problems with huge numbers of files. Rysnc
fulls do a block-checksum compare of all files which can
be slow even though it does not take a lot of network
bandwidth. So, either is fine for local LAN use, rsync
would be better for connections with limited bandwidth.