[mdlug] File systems

Jonathan Billings billings at negate.org
Sat Dec 28 23:10:58 EST 2013


On Boomtime, the 70th of The Aftermath, 3179 , John Wiersba said:
> I'm not sure I see the advantage of rsync vs. just plain old cp -a
> SOURCE TARGET for this particular use case. 

The benefit of 'rsync' is that you can run it multiple times without
worrying about copying data needlessly.  However, I suspect 'cp -a'
might be faster.  

To be honest, if it were me, I'd probably use tar with the appropriate
options to preserve extended attributes (like SELinux attributes) or
the ext4 dump/restore.

-- 
Jonathan Billings <billings at negate.org>


More information about the mdlug mailing list