LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2008, 10:10 PM   #1
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Rep: Reputation: 0
Exclamation Backing up home folder?


I am reasonable new to linux and have been told to make a separate partition for home, and to backup the home folder. My question is if I install a newer version via format etc, then reinstall my backup, will all my existing programs work and what about the updates in the home folder that get overwritten? Will that make any difference to the running of the OS.
Under MS Windows you can't do that, and would like clarification on what I've been told (plain simple terms).

tia
 
Old 03-09-2008, 10:24 PM   #2
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Hi,

While it is possible that you have installed your software in your home directory, most desktop/user-friendly distributions these days do not act that way by default. Usually, software is installed to a location that is accessible to all users, and only user-specific configuration files are stored under /home.

If your system is set up this way, and you completely remove and reinstall your OS, restoring the /home directory will not restore your software. However, if you reinstall your software manually, and also restore your /home directory, all (or almost all, anyway) of your settings and configurations should be restored along with it.

In short, in most cases the /home directory only contains settings for programs, and not the the programs themselves. Hope that helps, but please do post further if you're still uncertain. Cheers,

-Felix C.
 
Old 03-09-2008, 10:34 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,847

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Depends what you mean by "if I install a newer version via format " - do you mean "install a (complete) new new version of the distro" ???.
If so, then a separate home is a good idea, and yes, should allow you to continue using your apps. Like mail client f'instance.
I do this all the time - rather than just upgrading. Clean install is better IMHO.

Installing a completely different distro is another matter. I wouldn't try it without a really good set of backups.
 
Old 03-09-2008, 10:40 PM   #4
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by felixc View Post
Hi,

In short, in most cases the /home directory only contains settings for programs, and not the the programs themselves. Hope that helps, but please do post further if you're still uncertain. Cheers,

-Felix C.
Thanks felixc thats what I thought, so really if I keep the (programs) installation files and....stuck. How do I find the personal setting (MS config file) so I can keep them?
 
Old 03-09-2008, 10:48 PM   #5
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Depends what you mean by "if I install a newer version via format " - do you mean "install a (complete) new new version of the distro" ???.
If so, then a separate home is a good idea, and yes, should allow you to continue using your apps. Like mail client f'instance.
I do this all the time - rather than just upgrading. Clean install is better IMHO.

Inst
Thanks syg00, as you can see felixc has replied and with your reply is what I have seen in various forums. It makes it hard to work out what is the right way to keep your programs & configuration files in a 'reinstall'. By the way I am using ubuntu gutsy (will be moving to heron soon), that's why I want to sort this out now.

tia
 
Old 03-09-2008, 10:48 PM   #6
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Hey again,

The files contained in /home are the configuration files that contain your settings for programs. If you reinstall and restore those files, they will restore your configs.

For example, on my Ubuntu system, I have the file /home/felix/.vimrc, which contains my settings for the VIM text editor. I also have the folder /home/felix/.Skype, with settings for my VOIP client. If I reinstall Ubuntu from scratch, formatting the drive, etc, and then restore my /home partition, the following will happen:
1. Since VIM is included by default in Ubuntu, the next time I open it up, all my settings will be there, because I restored the .vimrc file.
2. Since Skype is not included in a standard Ubuntu installation, I will not be able to use it until I reinstall it. However, when I do reinstall it, my settings will be preserved, because I restored the .Skype folder.

I hope that clarifies the situation... If it doesn't, maybe you could elaborate a bit more on your issue, because I may just be misunderstanding! Have a good one,

Felix C.
 
Old 03-09-2008, 10:56 PM   #7
evilc77
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by felixc View Post
Hey again,

I hope that clarifies the situation... If it doesn't, maybe you could elaborate a bit more on your issue, because I may just be misunderstanding! Have a good one,

Felix C.
Think I've got you all the .xxxx folders are my settings for whatever program, when I reinstall and try to run it, if it's not installed it will tell me, then I can re-do it. That makes sense.

So really all I need to do is reinstall my .xxx folders not any of the other files including hidden.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 08:00 AM
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 12:28 PM
Need help on backing up a folder newlinuxnewbie Linux - General 4 02-06-2006 02:58 PM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
Backing-up a folder esael Slackware 1 09-16-2002 12:09 AM


All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration