LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-25-2008, 06:40 AM   #1
jahanzeb1982
Member
 
Registered: Mar 2008
Posts: 42

Rep: Reputation: 15
backup


hi,
i want to reinstall ubuntu. so i want to save setting of
all my software and desktop. how can i do it?

Linux Archive

Last edited by jahanzeb1982; 03-31-2008 at 09:09 AM.
 
Old 03-25-2008, 07:07 AM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
Guess it depends on what the settings are that you want to save.
If you reinstall without formating then only OS veriables will be updated. If your settings are outside of that you'll be fine.
 
Old 03-25-2008, 08:06 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You should not install it without formatting the root partition. That's because it will overwrite the files, but if there are some files that don't exist in the new system, they don't get overwritten and you get garbage left on the disk

If you partitioned the wise way last time you installed, and have a separate /home, you can just go about installing - do manual partitioning, check-box the root partition to be formatted, leave others (like /home) unformatted and just make sure they get mounted the right way (home partition mounted as /home and so on). After setup the thing should be going good.

If you did "automatic partitioning" or something, you probably only have root partition (in addition to swap). In this case you can't format it without losing your personal data too; you need to take backups that you put back later. To get your users' personal data backed up, copy (recursively, including the hidden files and such) the /home directory which holds all user data unless you've specifically copied things to other places (in that case you know where they are, and can copy them too). Then there are the system-wide configuration files, which are placed into /etc and so on. From these you only need to backup the ones you have altered after the setup; others you don't, because the new system will likely have more or less the same defaults. If you haven't touched anything, you don't need to copy anything except for /home.

It isn't a bad idea to collect the configuration file names you modify into a list that you can later use as a check-list when you make backups. /home you usually backup completely, so there's no trouble there, but the system-wide things should be written down if you make changes; maybe even a script that you can then run before updating, which copies all of them into an archive or something, preserving their paths - so after reinstallation or upgrade you can just extract the archive to the root of the filesystem and have the files put into their places.
 
  


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
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 04:40 PM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 02:13 AM
Error when attempting backup with File Backup lglrgl Linux - Software 0 08-03-2006 11:38 AM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 03:46 PM
backup and update the backup file doris Linux - General 4 08-24-2002 08:26 PM


All times are GMT -5. The time now is 04:52 AM.

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