Transferring stuff from one computer to another
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
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?
transfer
add a comment |Â
up vote
4
down vote
favorite
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?
transfer
2
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
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?
transfer
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?
transfer
edited Aug 30 at 23:32


ubashu
2,23721736
2,23721736
asked Aug 30 at 10:58
Silentstorm
997
997
2
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29
add a comment |Â
2
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29
2
2
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
12
down vote
accepted
If the laptops are in the same network, you can use rsync
to copy files via 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
- replace user with the actual username
- replace old_laptop with the old laptops hostname (run
hostname
on your old laptop to see the 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 usingsudo
.
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
).
- Add
--delete
to remove files on your new computer that are not on your old computer. - Add
-z
to use compression if your network speed is slow, e.g. if you copy via internet.
Your old laptop needs openssh-server
installed.
This will copy the user'shome
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
2
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
add a comment |Â
up vote
4
down vote
Clonezilla
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
- make an image the whole drive of the old computer to an image in an external drive,
- restore from the image to the drive of the new computer,
- the target drive (in the new computer) must be at least as big as the source drive (in the old computer), not one single byte smaller for this method to work.
Links
Clonezilla web site
use dd to back up transfer hard driver image
Fastest way to copy HDD
CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
12
down vote
accepted
If the laptops are in the same network, you can use rsync
to copy files via 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
- replace user with the actual username
- replace old_laptop with the old laptops hostname (run
hostname
on your old laptop to see the 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 usingsudo
.
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
).
- Add
--delete
to remove files on your new computer that are not on your old computer. - Add
-z
to use compression if your network speed is slow, e.g. if you copy via internet.
Your old laptop needs openssh-server
installed.
This will copy the user'shome
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
2
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
add a comment |Â
up vote
12
down vote
accepted
If the laptops are in the same network, you can use rsync
to copy files via 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
- replace user with the actual username
- replace old_laptop with the old laptops hostname (run
hostname
on your old laptop to see the 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 usingsudo
.
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
).
- Add
--delete
to remove files on your new computer that are not on your old computer. - Add
-z
to use compression if your network speed is slow, e.g. if you copy via internet.
Your old laptop needs openssh-server
installed.
This will copy the user'shome
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
2
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
add a comment |Â
up vote
12
down vote
accepted
up vote
12
down vote
accepted
If the laptops are in the same network, you can use rsync
to copy files via 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
- replace user with the actual username
- replace old_laptop with the old laptops hostname (run
hostname
on your old laptop to see the 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 usingsudo
.
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
).
- Add
--delete
to remove files on your new computer that are not on your old computer. - Add
-z
to use compression if your network speed is slow, e.g. if you copy via internet.
Your old laptop needs openssh-server
installed.
If the laptops are in the same network, you can use rsync
to copy files via 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
- replace user with the actual username
- replace old_laptop with the old laptops hostname (run
hostname
on your old laptop to see the 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 usingsudo
.
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
).
- Add
--delete
to remove files on your new computer that are not on your old computer. - Add
-z
to use compression if your network speed is slow, e.g. if you copy via internet.
Your old laptop needs openssh-server
installed.
edited Aug 30 at 14:24
answered Aug 30 at 11:07
RoVo
5,4671236
5,4671236
This will copy the user'shome
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
2
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
add a comment |Â
This will copy the user'shome
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
2
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
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
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
2
2
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
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
add a comment |Â
up vote
4
down vote
Clonezilla
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
- make an image the whole drive of the old computer to an image in an external drive,
- restore from the image to the drive of the new computer,
- the target drive (in the new computer) must be at least as big as the source drive (in the old computer), not one single byte smaller for this method to work.
Links
Clonezilla web site
use dd to back up transfer hard driver image
Fastest way to copy HDD
CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)
add a comment |Â
up vote
4
down vote
Clonezilla
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
- make an image the whole drive of the old computer to an image in an external drive,
- restore from the image to the drive of the new computer,
- the target drive (in the new computer) must be at least as big as the source drive (in the old computer), not one single byte smaller for this method to work.
Links
Clonezilla web site
use dd to back up transfer hard driver image
Fastest way to copy HDD
CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)
add a comment |Â
up vote
4
down vote
up vote
4
down vote
Clonezilla
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
- make an image the whole drive of the old computer to an image in an external drive,
- restore from the image to the drive of the new computer,
- the target drive (in the new computer) must be at least as big as the source drive (in the old computer), not one single byte smaller for this method to work.
Links
Clonezilla web site
use dd to back up transfer hard driver image
Fastest way to copy HDD
CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)
Clonezilla
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
- make an image the whole drive of the old computer to an image in an external drive,
- restore from the image to the drive of the new computer,
- the target drive (in the new computer) must be at least as big as the source drive (in the old computer), not one single byte smaller for this method to work.
Links
Clonezilla web site
use dd to back up transfer hard driver image
Fastest way to copy HDD
CloneZilla: HDD Cloning - Dual Boot (Windows + Linux)
edited Aug 30 at 11:16
answered Aug 30 at 11:06


sudodus
20.2k32667
20.2k32667
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1070447%2ftransferring-stuff-from-one-computer-to-another%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Possible duplicate of How to migrate the whole system to a new machine?
– qwr
Aug 30 at 18:29