Solved

Which config files should be backed up on fedora 5

Posted on 2006-10-21
3
231 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 75 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 25 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

726 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