Hi Clive,
> sudo rsync -r -a sda3/home sdb4/home
Since source and destination are on the same machine, and you're not
trying to update an old copy to match an original that's since changed,
you may as well use cp(1).
Probably,
sudo cp -a --preserve=all --sparse=always /home /mnt/sdb4/home
assuming /dev/sdb4 is mounted at /mnt/sdb4, adjust to suit, and that
/mnt/sdb4/home doesn't already exist, e.g. another home will be put
inside it. (Please correct me if I'm wrong, everyone else. :-)
> Reason is a partial upgrade of the operating system which is on sda1
> of the first disc.
So is this just a backup in case things go awry?
> Will using rsync take long to move 52Gb of data? (1 or 2 hrs?)
Quite a bit less than that, I'd have thought.
> Is it safe to do this while sda is mounted or should I do it from a
> live disc?
You need /dev/sda3 mounted so /home is visible as a bunch of directories
and files. From a live disk you could copy the sda3 partition to a
partition on sdb; that would be a byte for byte copy, not caring that
it has a filesystem on it. Depends what your end aim is.
Cheers, Ralph.
--
Next meeting: Bournemouth, Tuesday, 2015-08-04 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING
Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR