[Nottingham] Question: Best command for copying large filesystem between disks?
Andy Smith
andy at strugglers.net
Fri May 24 16:48:23 UTC 2013
Hi Martin,
On Fri, May 24, 2013 at 04:07:04PM +0100, Martin wrote:
> OK, so I'm doing an upgrade and have a lot of data to copy between disks
> to go from ReiserFS and ext4 to all go onto btrfs.
>
> What's the latest opinion/advice/ideas as to what command to use to do that?
>
> Mount the disks and just naively go:
>
> cp -av /mnt/source /mnt/dest
Should work. The -a should preserve all special attributes including
hard links and symlinks.
You can achieve the same with rsync. I don't think there will be
much difference in it. Obviously if you get interrupted you'd want
to use rsync the next time.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
More information about the Nottingham
mailing list