?
Solved

Which config files should be backed up on fedora 5

Posted on 2006-10-21
3
Medium Priority
?
232 Views
Last Modified: 2013-12-16
Hello EE, I  plan to re install a box running  Fedora 5 and

squid, iptables, samba.  

My question is what config files should  I backup to allow me to restore the settings as they were.  I know about.

squid.conf, writing iptables, smb.conf.  what other config files should I backup?
0
Comment
Question by:aduhwale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 300 total points
ID: 17781582
Hi,

to backup the whole etc is a good idea. Then you ould restore it someplace else on the new system and copy the necessary files as needed.

when I transfer a system I generally create a tar including

/etc
/root
/var/spool/mail    (just in case you want to keep the content of the mailboxes)
/var/log              (if you need your previous logs)
/home                (if there are several users etc.)
/var/www          (web pages etc.)

any customized diectory peculiar to your setup...

0
 
LVL 5

Assisted Solution

by:kyle_in_taiwan
kyle_in_taiwan earned 100 total points
ID: 17783426
Other suggestions:  have easily on hand the /etc/yum and ~/yum.conf, because you may need those during the installation process (or immediatetly after), and it may be a good idea to backup /etc/fstab also (if you have a lot of partitions).  

Typically i just copy the entire /etc tree  to the /home directory -- which i always have on a separate partition -- so that when i do a re-install i can simply allow the installation program to put the new /home on the new /root partition, and then i manually replace all the old .* files in the various user directories (after first backing them up).   Consequently, i always have all these files immediately handy during the install process, should i feel the need to call them up.

Also, there are occaisionally  things in /usr/src or in the /usr directory tree that you want to keep;  /usr/include, /usr/local, /usr/local/include and /usr/share sometimes have manually installed things and/or config files that you might want to back up.

Definitely back up the entire /etc tree, though;  it's not large, and there are too many useful things there you might want to keep.

0
 
LVL 2

Author Comment

by:aduhwale
ID: 17783638
Thanks for the responses.  I have split the points as I got my answer from both.  KeremE, gave most of the answer and I checked /usr based on Kyle's advice.
Thanks again.
0

Featured Post

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question