On 10/5/18 4:57 PM, Ed Greshko wrote:
On 10/6/18 7:47 AM, Ranjan Maitra wrote:
> Sorry, I wanted to mention that both these machines are Dell XPS 13s, one older
generation, the other new and pulling out the HDD is a lot of work. So I was wanting to
avoid that.
OK... All of my laptops that I've had just needed 4 screws removed.
Well the flash drive method works just as well then. May take longer, of course,
depending on the
size of your flash drive v.s. the size of your /home.
The best way is to do it over the network via rsync. My guess is that
you're on a gigabit network so it shouldn't take all that long, and
probably shorter than using a USB-based drive.
I'd set up the new machine as an rsync server with an /etc/rsyncd.conf
file that looks like:
[home-backup]
comment = Copy of old /home volume
path = /home
uid = root
gid = root
read only = no
hosts allow = 192.168.1/24 (or whatever your network is)
Then "systemctl start rsyncd" to start the rsync server on the new
machine. Test the transfer by running this on the OLD machine:
sudo rsync -avXA --dry-run /home/* ip-address-of-new-machine::home-backup
That'd show you what WOULD happen without it actually transferring any
files (and it'd be relatively fast). If it looks like it would do what
you want, then:
sudo rsync -aXA /home/* ip-address-of-new-machine::home-backup
to do the actual copy.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Sarchasm: The gulf between the author of sarcastic wit and the -
- reader...who doesn't get it. -
----------------------------------------------------------------------