Re: copy /home on one laptop to another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 6 Oct 2018 00:21:16 +0000 Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:

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

Thanks, there is only one user (me) with same name, UID, etc on the machine.

My monthly quota is 400GB. However, do I need to go all through the network? At the very least, should I not be able to go through the router and back without actually using the network?

Ranjan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux