[CentOS] Best practices for copying lots of files machine-to-machine

Wed May 17 20:51:08 UTC 2017
Robert Moskowitz <rgm at htt-consult.com>

On 05/17/2017 04:31 PM, Vanhorn, Mike wrote:
> On 5/17/17, 12:03 PM, "CentOS on behalf of ken" <centos-bounces at centos.org on behalf of gebser at mousecar.com> wrote:
>> An entire filesystem (~180g) needs to be copied from one local linux
>> machine to another.  Since both systems are on the same local subnet,
>> there's no need for encryption.
>> I've done this sort of thing before a few times in the past in different
>> ways, but wanted to get input from others on what's worked best for them.
> If shutting the machines down is feasible, I’d put the source hard drive into the destination machine and use rsync to copy it from one drive to the other (rather than using rsync to copy from one machine to the other over the network).

And then you are assured that all files are closed before copying.