New installation: restoring the old home folder? Backup advices
Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hello! I'm now using Kubuntu 6.10 on my principal PC. I will be getting a new one, so I'll do a clean install of Kubuntu 7.10. Should I restore the old 6.10 home folder? I mean, just copy and paste it, let's say. Or how should I proceed?
I am talking about the config folders, the hidden ones... I'm intrigued as to how it would work (I'm fairly new to linux, I've never done an update like this one). Perhaps I should just copy the folders of the applications I will be using again?
Also, what other backup advices can you give me? When I do clean installs, I like to make them clean, I mean, the less configuration files I carry onto the new installation the better, but some things are a pain to configure... What other folders should I take a look at?
As above, I prefer "cp -a ..."
I'd also advise you to set up a separate partition for /home. Copy the /home, then do the install. Same named user(s) will get recognised on install.
I always use the alternate CD so I can assign mountpoints to partitions, and select whether the need formatting. Not sure how the standard (Ubuntu) installer handles this.
Makes it easier to do an install, then go back to a previous version in need. User data survives.
Oh, so I should make a partition which would be the /home folder? So in that partition, should I actually put the home folder or should I put all the users' folder's? (i.e. how does the partition work? As the container of the home folder or actually as the home folder?)
So, first I prepare that partition and then I install Kubuntu and tell it to set it as the home folder. How would that work? The programs that come with 7.10 will recognize the configuration files and work with those configs? Will there be a problem if the versions are different? Same questions for the new programs I would be installing after the OS is set.
And a noob question: doing cp -a is exactly the same as doing some good old copy-paste, isn't it?
Oh, so I should make a partition which would be the /home folder? So in that partition, should I actually put the home folder or should I put all the users' folder's? (i.e. how does the partition work? As the container of the home folder or actually as the home folder?)
Just the users' folders. mount causes the contents of the mounted file system (partition) to become the contents of the mount point. If your new home partition had a "home" dir., then mounting it on /home (in the root file system) would produce /home/home/...
Quote:
Originally Posted by bruno321
So, first I prepare that partition and then I install Kubuntu and tell it to set it as the home folder. How would that work? The programs that come with 7.10 will recognize the configuration files and work with those configs? Will there be a problem if the versions are different? Same questions for the new programs I would be installing after the OS is set.
Sorry, don't use Kubutu, so don't know.
Quote:
Originally Posted by bruno321
And a noob question: doing cp -a is exactly the same as doing some good old copy-paste, isn't it?
I can't prove it from the man page, but I'm pretty sure cp copies hidden files w/o being told. OTOH, your file manager may or may not be set to display hidden files, & so they may or may not be copied in a copy-paste.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.