Please can anyone confirm the following statement as I've not used rsync before.

sudo rsync -r -a sda3/home sdb4/home

I'm trying to copy the Home folder (on sda3) containing 2 users onto another disc (sdb4) mounted in the same computer (ie not remote). I want to keep all permissions on all files in all directories and sub-directories. I think the -r ensures all files are copied, and -a keeps the attributes (ownerships ect) Partitions are already made on both discs but sdb is not normally mounted at start-up.

Reason is a partial upgrade of the operating system which is on sda1 of the first disc.
Will using rsync take long to move 52Gb of data? (1 or 2 hrs?)
Is it safe to do this while sda is mounted or should I do it from a live disc?

--
*C A Wills*

/Supporting Linux Mint & Open Source/


--
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

Reply via email to