LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2004, 09:31 AM   #1
mysticpain
Member
 
Registered: Jan 2004
Distribution: Mandrake
Posts: 66

Rep: Reputation: 15
config files


I changed M-drake 10 to my liking. I want to copy the config files onto a floppy or disk and create a new machine with the same configuration. Where are my config files located? And is it possible to copy them over to the new machine and have a clone of the first one?
 
Old 07-12-2004, 10:49 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Your config files will be in your home directory and in /etc. Some packages may have configuration files in odd places.

It can be hard to make sure you've got them all as sometimes they're in nested subdirectories but if you use tar that should be ok.

In principle, copying them over will work, so long as both distributions and versions are the same. If there is anything hardware specific you might have to make some changes, but all your other settings will be preserved.

John
 
Old 07-12-2004, 12:00 PM   #3
p-static
Member
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
If the hardware is almost identical, you could just copy all the files(not just config files) over onto the new machine, and have a working install. No Microsoft-style activation crap. However, if the hardware is different, it probably won't work right.
 
Old 07-12-2004, 01:38 PM   #4
mysticpain
Member
 
Registered: Jan 2004
Distribution: Mandrake
Posts: 66

Original Poster
Rep: Reputation: 15
The machines are identicle. Would you recommend I just do a system back up? Or what is the easiest way to back up the necessary files?
 
Old 07-13-2004, 05:37 AM   #5
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
If you've just installed Linux on your new machine you don't really need to do a backup - if something does go wrong you can just reinstall.

Or maybe you mean on your new machine, as a means of copying the files over?

One way is to make a tarball (look at the man pages for tar and gzip/bzip2). For example to archive and compress the /etc directory do this...

tar -cjvf etc.tbz2 /etc


John
 
  


Reply



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
DB for config instead of config files twistedpair Linux - Software 1 11-28-2005 04:39 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 09:36 AM
question on config files vs build files working2hard Programming 2 07-29-2004 11:45 AM
config files ximiansavior Linux - Wireless Networking 1 02-09-2004 04:52 PM
Different Config Files JHuizingh Linux - General 2 08-12-2001 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 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