LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-01-2007, 01:07 AM   #1
mrmuckle
LQ Newbie
 
Registered: Mar 2005
Location: Olympia, Worshington USofA
Distribution: SuSE 11.1
Posts: 13

Rep: Reputation: 0
How to save settings, passwords, etc. before doing clean install from 10.2 to 10.3


I hate having to "re-invent" all of my settings, passwords, etc., each time I upgrade SUSE. How can I save all my personal settings and etc. before doing a "clean install" from 10.2 to 10.3?

Thank you for any help at all...
 
Old 11-01-2007, 03:26 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
Do you have any removable media to save the settings on?

Do you lose/re-create your home directory when upgrading?

Is /home a seperate filesystem (mount point) or a part of the root filesystem (/)?

If /home gets overwritten, then you will probably need to back up a fair bit before the upgrade.

Most files that you might need to re-create / restore (if not in /home) are likely to be in /etc

Therefore you may want to start by:

tar cf /media/usb_disk/my_backup.tar /etc /home

(assumes you have a USB disk mounted on /media/usb_disk and that there is enough storage to complete the tar)

*** This is the minimum I would do before upgrading! ***

Depending on what you have installed and what settings you normally need to change you may need to backup different areas!

to list the contents of a tar file:

tar tf /media/usb_disk/my_backup.tar
(note that the lead / has been removed from the file.

restore a single file from a tar file (to a different place):
Code:
cd /media/usb_disk
tar xf /media/usb_disk/my_backup.tar -l etc/passwd etc/shaddow
This will create two files /media/usb_disk/etc/passwd and /media/usb_disk/etc/shaddow

These can be compared to the existing files or can replace the existing files (be very careful when replacing system files!)
 
Old 11-01-2007, 07:54 PM   #3
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
as Disillusionist was suggesting between the lines you should take care of creating a separate /home partition if you are anyway doing a clean install of opensuse 10.3. this has several, mainly 2 advantages:

1. you will not anymore have to backup your /home data files, passwords etc.
2. if the system crashes or you have to reinstall/upgrade for any other reason your /home partition can be just included after install without setting up anything

to your question; it is enough to backup your /home directory by any kind of backup. you just have to restore it after your fresh install
 
  


Reply

Tags
install, save, settings, upgrade


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
settings won't save miner49er Debian 1 04-01-2006 12:27 PM
Kopete won't save passwords! AvatarofVirgo Linux - General 1 02-01-2005 01:30 AM
How do I save my settings? laverscheval DamnSmallLinux 2 10-08-2004 08:44 PM
Can't save httpd settings simke Fedora 16 09-27-2004 08:02 PM
IPCOP - can't save my settings killed2 Linux - Networking 0 05-24-2002 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration