Transferring stuff from one computer to another

Transferring stuff from one computer to another



I just got a new laptop and I'm wanting to transfer (preferably everything) from my old one to the new one. The old one is running Lubuntu 18.04 64 bit and the new one is running the exact same. I really want to avoid taking the laptops apart to get the drives out and then copying them so would anyone know a good free (as in price) drive copier that I could use?





Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29




2 Answers
2



If the laptops are in the same network, you can use rsync to copy files via ssh.


rsync


ssh



From the new laptop you can run something like this if the username is the same on both computers.


rsync -av -e ssh user@old_laptop:/home/user /home


hostname



This will copy the whole user's home directory to your new laptop.

If you issue the same command again, it will only copy changes.



Note: This command will not copy and global settings made outside your home, e.g. in /etc. Also some programs might write to /var. You can of course change the command to include/use these directories. You will then need to run using sudo.


/etc


/var


sudo



If you have different user name, use this:


rsync -av -e ssh old_user@old_laptop:/home/old_user/ /home/new_user



This will copy the contents of the user directory to your new laptop (note the trailing / behind old_user).


/


old_user


--delete


-z



Your old laptop needs openssh-server installed.


openssh-server





This will copy the user's home directory, which is good, but it will not transfer everything, for example not global settings (for example those stored in /etc) and not installed program packages.
– sudodus
Aug 30 at 14:17



home


/etc





I just assumed that OP wanted to copy personal files, but you're right. I pointed that out in the Answer. Thanks!
– RoVo
Aug 30 at 14:25



If the computers are similar enough, a cloned copy of the drive in the old computer will work in the new computer. Things to consider are graphics chip/card and wifi chip/card. Most things are probably working with built-in linux drivers.



I would take the the drive in the old computer out of the computer and put it into the new computer and test if/how it works. But that's me. I understand that you want another solution, and I suggest that you use Clonezilla to



Clonezilla web site



use dd to back up transfer hard driver image



Fastest way to copy HDD



CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)



Required, but never shown



Required, but never shown






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế