LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Thread Tools
Old 11-16-2007, 10:53 PM   #1
bruno321
Member
 
Registered: Feb 2007
Location: Montevideo
Distribution: Kubuntu
Posts: 43
Thanked: 0
New installation: restoring the old home folder? Backup advices


[Log in to get rid of this advertisement]
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?

Thank you!
bruno321 is offline     Reply With Quote
Old 11-17-2007, 02:50 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,681
Thanked: 0
You can use cp -a

or put it all in a big tarball with tar.

I shift my home around from time to time.

Last night dragged /home over the ether from a mandriva box to a new slack install
amosf is offline     Reply With Quote
Old 11-17-2007, 03:48 AM   #3
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
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.
syg00 is offline     Reply With Quote
Old 11-17-2007, 06:44 AM   #4
bruno321
Member
 
Registered: Feb 2007
Location: Montevideo
Distribution: Kubuntu
Posts: 43
Thanked: 0

Original Poster
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?

Thanks!
bruno321 is offline     Reply With Quote
Old 11-18-2007, 09:55 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 3,598
Blog Entries: 9
Thanked: 45
Quote:
Originally Posted by bruno321 View Post
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 View Post
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 View Post
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.
archtoad6 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't know what to do with files in home folder after installation etrece Linux - Newbie 2 10-12-2007 03:32 PM
Sorting all files of home folder modified after a specific date for backup fc6_user Linux - General 2 03-30-2007 03:24 AM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 08:00 AM
Installation advices on mandrake 9.2 mindatwork Linux - Newbie 13 12-12-2003 04:22 PM
Restoring backup dominique Linux - Newbie 3 12-06-2001 03:59 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration