Are there drawbacks from copying my home folder from one machine to another?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Are there drawbacks from copying my home folder from one machine to another?
I am in the process of building up another laptop with slackware, but I dont want to create my home folder structure again. Would there be any issue if I copy my current home folder to the new installation?
Nope - I keep a copy of my /home directory on my nas for backup purposes. If something bad happens, I just copy it back. The only caveat would be if you are starting any apps from .xinitrc (or however that is done in slack), you will need to have those installed on the target machine or they won't start obviously.
Usually nothing serious, provided the installs are similar. You have configuration stuff in /home, and if one has gnome and the other kde, there will be bilge there. It depends on if you're able to isolate and sort out the bits that don't match. I did it with slackware without any real issues
If your installs are chalk & cheese, better to copy the visible stuff only.
Sounds good. I thought it would be ok, but I wanted to get some feedback. Since the new machine will pretty much have the same apps installed it should make it a quicker ramp up.
If you have a ~/bin/ where you keep compiled executables, they might or might not work on the new system, and you might want to omit application-specific cache directories (many use ~/.cache/) but other than that it should be fine. I've been copying my old home directory forward to new systems for about fifteen years.
Copied from my desktop to a laptop, went very smoothly. I got some errors related to it wanting to start programs that still needed to be installed but it cleared up after installing them.
Copied from my desktop to a laptop, went very smoothly.
For most folks that will be the case. Just a caveat for future readers of this thread, if the UID/GID are different be sure to update the copied files before logging in as that user. Basically chown -R user:group /home/user.
For most folks that will be the case. Just a caveat for future readers of this thread, if the UID/GID are different be sure to update the copied files before logging in as that user. Basically chown -R user:group /home/user.
Oh yes I forgot. On the destination computer I did the copy as root before creating the user account for it. It gave a message about the existing home folder and updating permissions iirc, I said yes and it did so without issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.