Re: copy /home on one laptop to another
On 10/7/18 6:45 AM, Ed Greshko wrote: > my ISP has deployed VLAN technology in their network Sorry to respond to my own post. In case anyone in interested, VLANs operate at Layer 2 of the OSI stack. Routers, on the other hand, operate at Layer 3. That is why, when 2 devices are on the same local network connected with a switch or hub you'll see it as a direct "1 Hop" connection. It would appear the same as if they were directory wired together in what you may refer to as a crossover connection. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/7/18 8:42 AM, Joe Zeff wrote: > On 10/06/2018 05:14 PM, Ed Greshko wrote: >> On 10/7/18 7:02 AM, Joe Zeff wrote: >>> On 10/06/2018 04:45 PM, Ed Greshko wrote: I have 8 route-able IPv4 addresses and 18446744073709551616 IPv6 addresses (you read that right) assigned to me. >>> >>> So what you're saying is, I could ping any of your machines and get a >>> response, provided >>> that you're not blocking ICMP. Right? >>> >> >> Yes. >> > > OK. Try using traceroute to see how you get from one of those laptops to the > other. > Judging by what you've written, it should take two hops: one to the router > and the next > to the other machine. If so, any traffic from one box to the other should > take the same > route and never be seen outside. Why do you think your ISP would be aware of > such > transfers? > Do you think I'm the OP? I've been saying there is *NO* data being sent towards the ISP when devices are on the same local network. From what I've written you should have gotten the impression that there is only 1 "hop". The connection is transparent to the router. The data never gets "into" the router. The data is handled in the switch, which happens to be in the same enclosure as the router but no router functions are applied. It is just as if my devices were connected to a "Switch/Hub" only. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/06/2018 05:14 PM, Ed Greshko wrote: On 10/7/18 7:02 AM, Joe Zeff wrote: On 10/06/2018 04:45 PM, Ed Greshko wrote: I have 8 route-able IPv4 addresses and 18446744073709551616 IPv6 addresses (you read that right) assigned to me. So what you're saying is, I could ping any of your machines and get a response, provided that you're not blocking ICMP. Right? Yes. OK. Try using traceroute to see how you get from one of those laptops to the other. Judging by what you've written, it should take two hops: one to the router and the next to the other machine. If so, any traffic from one box to the other should take the same route and never be seen outside. Why do you think your ISP would be aware of such transfers? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/7/18 7:02 AM, Joe Zeff wrote: > On 10/06/2018 04:45 PM, Ed Greshko wrote: >> I have 8 route-able IPv4 addresses and 18446744073709551616 IPv6 addresses >> (you read that >> right) >> assigned to me. > > So what you're saying is, I could ping any of your machines and get a > response, provided > that you're not blocking ICMP. Right? > Yes. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/06/2018 04:45 PM, Ed Greshko wrote: I have 8 route-able IPv4 addresses and 18446744073709551616 IPv6 addresses (you read that right) assigned to me. So what you're saying is, I could ping any of your machines and get a response, provided that you're not blocking ICMP. Right? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/7/18 5:08 AM, Joe Zeff wrote: > On 10/06/2018 02:41 PM, Cameron Simpson wrote: >> On 06Oct2018 07:08, fred roller wrote: >>> I believe the OP didn't want to use network. In that case a crossover cable >>> would still make rsync the best choice without a network. Uses the nicand >>> you just set a compatible ip on both laptops. >> >> The OP seems concerned that any "using the network" would impact his ISP >> quota. We just >> need to ensure he uses just his local LAN and make it clear that such >> traffic never >> goes near his ISP. So the local switch or a direct cable crossover. > > Assuming that his LAN is using NAT and the machines in question have > non-routable IPs, > nothing passing between the two would be visible from outside so there's no > reason to > worry about quotas. > Your point about "LAN is using NAT and the machines in question have non-routable IPs" is not really valid. I have 8 route-able IPv4 addresses and 18446744073709551616 IPv6 addresses (you read that right) assigned to me. Sticking with IPv4, the devices using them are on the same "physical" network. So, when 2 wish to communicate they make an ARP request and get a MAC address in return. The MAC address (not route-able) is then used for direct communication locally. This is actually true even though my netmask for the assigned IPv4 addresses is 255.255.255.0 since my ISP has deployed VLAN technology in their network. Hence the quotes around physical. (FWIW, none of the hardwired ISP plans in Taiwan have data quotas. :-) ) -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On Sun, 7 Oct 2018 07:39:43 +1100 Cameron Simpson wrote: > On 06Oct2018 10:30, Ed Greshko wrote: > >On 10/6/18 8:38 AM, Ranjan Maitra wrote: > >> 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? > > > >They are on the same local network? > > > >Yes, the data will not leave the local network and add to your quota. > > > >To make double sure of that just use "ip addr show" on both systems. I'm > >guessing they'll > >have addresses > >such as "192.168.1.X". > > What Ed said. > > In case it isn't clear, your "quota" is presumably your monthly data quota > with > you ISP. That applies _only_ to data sent/received via the ISP i.e. the > network > _outside_ your home. > > Your ISP never sees anything internal. > > Your home network probably looks like this: > > INTERNET--modem--switch--laptop > > Often the switch is part of the modem rather than a distinct box, and often > there's wifi on the modem too. > > Only traffic to/from the internet counts towards your quota. > > So, keeping all the traffic on your internal network, we ignore the internet > and the modem: > > switch--laptop > > With both your laptops: > > laptop--switch--laptop > > or the "crossover cable" scenario: > > laptop--laptop > > In both these situations your laptops should be on the same IP network, and > traffic will remain local. Thanks very much to everyone for the help and the clarifications. I will go the laptop--switch--laptop route then. Best wishes, Ranjan ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/06/2018 02:41 PM, Cameron Simpson wrote: On 06Oct2018 07:08, fred roller wrote: I believe the OP didn't want to use network. In that case a crossover cable would still make rsync the best choice without a network. Uses the nicand you just set a compatible ip on both laptops. The OP seems concerned that any "using the network" would impact his ISP quota. We just need to ensure he uses just his local LAN and make it clear that such traffic never goes near his ISP. So the local switch or a direct cable crossover. Assuming that his LAN is using NAT and the machines in question have non-routable IPs, nothing passing between the two would be visible from outside so there's no reason to worry about quotas. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 06Oct2018 07:08, fred roller wrote: I believe the OP didn't want to use network. In that case a crossover cable would still make rsync the best choice without a network. Uses the nicand you just set a compatible ip on both laptops. The OP seems concerned that any "using the network" would impact his ISP quota. We just need to ensure he uses just his local LAN and make it clear that such traffic never goes near his ISP. So the local switch or a direct cable crossover. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 06Oct2018 10:30, Ed Greshko wrote: On 10/6/18 8:38 AM, Ranjan Maitra wrote: 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? They are on the same local network? Yes, the data will not leave the local network and add to your quota. To make double sure of that just use "ip addr show" on both systems. I'm guessing they'll have addresses such as "192.168.1.X". What Ed said. In case it isn't clear, your "quota" is presumably your monthly data quota with you ISP. That applies _only_ to data sent/received via the ISP i.e. the network _outside_ your home. Your ISP never sees anything internal. Your home network probably looks like this: INTERNET--modem--switch--laptop Often the switch is part of the modem rather than a distinct box, and often there's wifi on the modem too. Only traffic to/from the internet counts towards your quota. So, keeping all the traffic on your internal network, we ignore the internet and the modem: switch--laptop With both your laptops: laptop--switch--laptop or the "crossover cable" scenario: laptop--laptop In both these situations your laptops should be on the same IP network, and traffic will remain local. Cheers, Cameron Simpson ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
I believe the OP didn't want to use network. In that case a crossover cable would still make rsync the best choice without a network. Uses the nicand you just set a compatible ip on both laptops. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/6/18 11:30 AM, Ed Greshko wrote: > On 10/6/18 11:23 AM, Samuel Sieb 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. >> Unfortunately, almost all newer laptops, especially the thinner ones, need >> the keyboard >> removed to access the hard drive. I fondly remember the days of only four >> screws to get >> the hatch off... >> > Yeah, I've not needed a laptop for quite some time. The only one I have > left can be > deemed "ancient". :-) > Oh, and just to add to my learning experience, the Dell XPS uses a PCIe SDD card so a different sort of enclosure would be needed then the ones I have. :-) :-) But they are inexpensive. The video I watched about that laptop shows it only needs 10 screws removed and not from the keyboard side. So that's good. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/6/18 11:23 AM, Samuel Sieb 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. > > Unfortunately, almost all newer laptops, especially the thinner ones, need > the keyboard > removed to access the hard drive. I fondly remember the days of only four > screws to get > the hatch off... > Yeah, I've not needed a laptop for quite some time. The only one I have left can be deemed "ancient". :-) -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/5/18 5:21 PM, Rick Stevens wrote: 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: That's far more complicated than necessary. If he has the user created on the new laptop, just do the usual rsync over ssh. From the old laptop as the user: rsync -aP /home/user/ newip:/home/user/ (Make sure you keep all those slashes or you could get surprising effects.) Be aware that workstation by default does not have sshd turned on, so you may need to run "sudo systemctl enable --now sshd" if you want it to stay on, or just "sudo systemctl start sshd" to run it for now. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
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. Unfortunately, almost all newer laptops, especially the thinner ones, need the keyboard removed to access the hard drive. I fondly remember the days of only four screws to get the hatch off... ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/5/18 5:40 PM, Ranjan Maitra wrote: Could also use a cross-over cable, and connect machines directly, and transfer files. Where do I get this? The new XPS 13 has type-C USB and the old one has the old USB drive. I do have the type-C to USB converter. I believe he's referring to a network crossover cable. You actually haven't needed a crossover cable for many years. Any network cable will work, ethernet ports handle the crossover automatically if necessary. However, you will need to manually configure the ethernet connection on both sides because NetworkManager doesn't handle that setup. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/5/18 5:21 PM, Rick Stevens wrote: 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. Sadly, a lot of new laptops still only have 100Mbps ethernet. I have no idea why, they're trying to save a dollar? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/6/18 8:38 AM, Ranjan Maitra wrote: > 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? They are on the same local network? Yes, the data will not leave the local network and add to your quota. To make double sure of that just use "ip addr show" on both systems. I'm guessing they'll have addresses such as "192.168.1.X". -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On Sat, 6 Oct 2018 10:23:41 +1000 "Michael D. Setzer II" wrote: > On 5 Oct 2018 at 18:30, Ranjan Maitra wrote: > > Date sent:Fri, 5 Oct 2018 18:30:57 -0500 > From: Ranjan Maitra > To: Community support for Fedora users > > Subject: copy /home on one laptop to another > Organization: Mailbox Ignored > Send reply to:users@lists.fedoraproject.org > > > Hi, > > > > I have a new laptop and have installed F28 on it. The old laptop is also > > running F28. I would like to copy /home from the old laptop to the second. > > What would be the best way to do this? Both are on the network, but I am > > hoping for a solution that does not go through the network. > > > > Any suggestions? > > Couple of questions. > 1. Is this one user or many users? One user. > 2. Do the user(s) have the matching user numbers on the two machines? Yes, that is correct. > 3. Are you copying just data files or everything? There are a number of > directories with start with . and they are not copied automatcially by some > processes. I am fine with copying everything including the . directories and files. > Some files might be in use if running from the hard disk OS, so might be > better to boot from type of live cd, and do the copy, and then do the reverse > on other system as well. > > Could also use a cross-over cable, and connect machines directly, and > transfer files. Where do I get this? The new XPS 13 has type-C USB and the old one has the old USB drive. I do have the type-C to USB converter. Thanks again! Ranjan ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On Sat, 6 Oct 2018 00:21:16 + Rick Stevens 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@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/6/18 8:08 AM, Ranjan Maitra wrote: > The size of my /home is 256 GiB. I don't have a flash drive big enough. > Actually, I don't also have an USB enclosure so I was hoping for some other > solution. Well, is the drive 256GB or are you actually using 256GB? I do nightly rsync backups of my home directory to a NAS. But, since I use IMAP for mail I exclude the mail folders as they can be rebuilt. I also exclude ~/..cache as well as some easily recreated data. The largest flash drive I have is a 128GB so I'd have to do multiple copies. I would surely agree with Rick that the easiest method is rsync over the network. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 5 Oct 2018 at 18:30, Ranjan Maitra wrote: Date sent: Fri, 5 Oct 2018 18:30:57 -0500 From: Ranjan Maitra To: Community support for Fedora users Subject:copy /home on one laptop to another Organization: Mailbox Ignored Send reply to: users@lists.fedoraproject.org > Hi, > > I have a new laptop and have installed F28 on it. The old laptop is also > running F28. I would like to copy /home from the old laptop to the second. > What would be the best way to do this? Both are on the network, but I am > hoping for a solution that does not go through the network. > > Any suggestions? Couple of questions. 1. Is this one user or many users? 2. Do the user(s) have the matching user numbers on the two machines? 3. Are you copying just data files or everything? There are a number of directories with start with . and they are not copied automatcially by some processes. Some files might be in use if running from the hard disk OS, so might be better to boot from type of live cd, and do the copy, and then do the reverse on other system as well. Could also use a cross-over cable, and connect machines directly, and transfer files. Would also recommend a full backup before in case something doesn't work. In imaging machines, there are some files that link to the MAC of the network card, and they would cause minor issues, but those are not in the /home directory. Do an ls -a in the individual /home directories, and you will see the number of these special directories. > > Many thanks for any help and best wishes, > Ranjan > > -- > Important Notice: This mailbox is ignored: e-mails are set to be deleted on > receipt. Please respond to the mailing list if appropriate. For those needing > to send personal or professional e-mail, please use appropriate addresses. > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > 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@lists.fedoraproject.org ++ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ ++ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC@HOME CREDITS ROSETTA 65921454.270086 | ABC 16613838.513356 SETI109583638.490525 | EINSTEIN141504762.499240 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
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, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 226437340 Yahoo: origrps2 - -- - Sarchasm: The gulf between the author of sarcastic wit and the - - reader...who doesn't get it. - -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On Sat, 6 Oct 2018 07:57:05 +0800 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 size of my /home is 256 GiB. I don't have a flash drive big enough. Actually, I don't also have an USB enclosure so I was hoping for some other solution. Best, Ranjan ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
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. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On Sat, 6 Oct 2018 07:36:40 +0800 Ed Greshko wrote: > On 10/6/18 7:30 AM, Ranjan Maitra wrote: > > I have a new laptop and have installed F28 on it. The old laptop is also > > running F28. I would like to copy /home from the old laptop to the second. > > What would be the best way to do this? Both are on the network, but I am > > hoping for a solution that does not go through the network. > > Well, the easiest solution for not going through the network is to take the > drive out of > the old laptop and put it in a USB > enclosure. Then plug it in the new laptop and just copy. Thanks! 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. Best wishes, Ranjan ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/5/18 4:36 PM, Ed Greshko wrote: On 10/6/18 7:30 AM, Ranjan Maitra wrote: I have a new laptop and have installed F28 on it. The old laptop is also running F28. I would like to copy /home from the old laptop to the second. What would be the best way to do this? Both are on the network, but I am hoping for a solution that does not go through the network. Well, the easiest solution for not going through the network is to take the drive out of the old laptop and put it in a USB enclosure. Then plug it in the new laptop and just copy. Using the network is the simplest method, but you could also use a flash drive. The only consideration in any of these methods is to make sure that the ownership of files is maintained. Depending on the method used, you might need to run a "chown -R username: /home/username" on the destination system. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
Re: copy /home on one laptop to another
On 10/6/18 7:30 AM, Ranjan Maitra wrote: > I have a new laptop and have installed F28 on it. The old laptop is also > running F28. I would like to copy /home from the old laptop to the second. > What would be the best way to do this? Both are on the network, but I am > hoping for a solution that does not go through the network. Well, the easiest solution for not going through the network is to take the drive out of the old laptop and put it in a USB enclosure. Then plug it in the new laptop and just copy. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
copy /home on one laptop to another
Hi, I have a new laptop and have installed F28 on it. The old laptop is also running F28. I would like to copy /home from the old laptop to the second. What would be the best way to do this? Both are on the network, but I am hoping for a solution that does not go through the network. Any suggestions? Many thanks for any help and best wishes, Ranjan -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org