LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-26-2015, 11:24 AM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
which files to copy before a fresh install?


I have another thread about re-installing Fedora when I get a new hard drive. I'm going to use it as an opportunity to try and limit the programs I have installed (so upgrades will be less time-consuming) so I don't need any of those commands to make yum install what I had installed before. Also, /home is on its own hard drive so I don't to worry about anything explicitly residing in my home directory.

But I want to make sure I copy over configs and other files I may be forgetting.

Here's my current list:
  • fstab
  • crontab files
  • QMC2 puts some files on /
  • Xorg conf? I don't think that's used anymore
  • Crashplan files? (need to at least make some screenshots of current configs)
  • NFS shares (if any)
  • Any crypto stuff in /? Or is the important stuff (like GPG sigs) only in my /home dir?
 
Old 01-26-2015, 12:52 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,126

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
I always forget things when I upgrade so I make a tar of /etc and /var/named to get all the conf files then refer to as needed.

Directories:
  • /etc/ssh/ - has your keys so you don't have to edit the "known_keys" everywhere
  • /var/named/ - if you have a local DNS server
  • /etc/sysconfig/ - all the stuff you set up at install time, firewall rules
  • /etc/mail/ - sendmail configuration
Files:
  • /etc/rsyslog.conf - so you don't have to figure out how to turn off all that logging again
  • /etc/aliases - who gets root's mail
  • /etc/mdadm.conf - RAID setup
 
Old 01-26-2015, 08:05 PM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
Thanks! I think at least some of those will apply to me!
 
Old 07-30-2015, 02:17 PM   #4
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
Adding some more for anyone coming here by Google:
  • /etc/yum.repos.d
  • (specific to me) settings to make sure locate doesn't index my btrfs snapshots
 
  


Reply

Tags
migration


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
[SOLVED] msql files in different location on fresh slack 14 64 install plisken Slackware 3 12-22-2013 08:16 AM
[SOLVED] how to install g++ on fresh installed ubuntu from .deb files or source code wang Linux From Scratch 7 05-09-2013 01:10 AM
Missing /etc/inet/resolv.conf and /etc/defaultrouter files fresh Solaris 8 install mwx Linux - Networking 4 01-27-2009 01:39 AM
Can I copy old /home/ directory to fresh install? Adrian Baker Linux - General 2 01-09-2007 03:06 PM
Fresh Suse 9.1 trying to install VMWare 4.5.1 - Unable to copy the source file DeathCab for 2D Linux - Software 2 10-14-2004 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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