LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-11-2007, 01:57 PM   #1
Red Barchetta
Member
 
Registered: Mar 2007
Distribution: Mandriva Free
Posts: 41

Rep: Reputation: 15
Question Actual configuration files


I know, to some this may sound like more trouble than it's worth. But I wold like to know what files/folders need to be copied, so that if the system were to be installed on a totally different computer but with all the same users - the look, feel, bookmarks, browser preference settings, exc. will be identical to the way it was when the backup was made, without the need for the user to set them (just copy the data back, if need be alter a file or two, but nothing that individual users would need to do, just whoever put the system there.).
If possible, even keep the same password for each user, even if you don't know what it is (but I know that may be pushing it too far, and it's not all that important - but look, feel, exc. is the main thing I am after.).
 
Old 05-11-2007, 02:08 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
It's pretty easy to clone a system (basically cp -a /* /new/partition/), but as for recreating all the user accounts and settings on a different system that's already been installed, it could get very messy.
 
Old 05-11-2007, 02:43 PM   #3
Red Barchetta
Member
 
Registered: Mar 2007
Distribution: Mandriva Free
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Gethyn
but as for recreating all the user accounts and settings on a different system that's already been installed, it could get very messy.
Unfortunately, I figured that. But messy or not, the data has got to be there somewhere. But so far all I have managed to backup and restore in this manner is the Firefox bookmarks. Some other files I THOUGHT I had figured out what to do with, but the restore process only caused that user account to "jam" during sign in.
I know this will most likely NOT be the last "messy" thing I try to do with Linux either. Just the way I am, I have always gotten down to the "nitty gritty" of data backup/restore in any OS I was using at the time. (Even when I still HAD Windoze installed, I was able [after some time figuring out what was what, data wise] literally backup everything so that restoring the entire OS to a different machine completely had no difference from when the data was backed up, as far as look, feel, user accounts, exc. goes - this included everything, EVEN the PW of accounts when it was unknown to me [but of course Administrator access was requires] and the "registration" info for a lot of commercial software - even what to alter if the new system had things in different locations. That is what I am trying to get to with Linux right now).
 
Old 05-12-2007, 06:38 AM   #4
barrythai
Member
 
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381

Rep: Reputation: 30
Quote:
Originally Posted by Red Barchetta
I know, to some this may sound like more trouble than it's worth. But I wold like to know what files/folders need to be copied, so that if the system were to be installed on a totally different computer but with all the same users - the look, feel, bookmarks, browser preference settings, exc. will be identical to the way it was when the backup was made, without the need for the user to set them (just copy the data back, if need be alter a file or two, but nothing that individual users would need to do, just whoever put the system there.).
If possible, even keep the same password for each user, even if you don't know what it is (but I know that may be pushing it too far, and it's not all that important - but look, feel, exc. is the main thing I am after.).

I have done this many times. It really is a lot of work.

I would suggest you make a backup of home and root with hidden files, including the desktop for kde. If running mysql you will have to to a mysqldump to the home directory as well.

Other files are important such as etc/hosts and etc/sysconfig/network.
Apache config files as well, use webmin to find their location. You may also have added items to rclocal in etc/rc.d

You will also have to copy the mail spool etc if you are running sendmail and postfix.

I am sure there is more but making sure you copy the hidden files.

 
Old 05-12-2007, 03:38 PM   #5
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
My first reaction to your question is to create an image of each partition on your system. As far as I know, the best way to to image a partition is from a Live! CD. In Linux, the most popular tool is partimage. I use System Rescue CD here because it includes Partimage, Gparted and several other utilities that may be useful when the worst happens. Partimage copies only the used portions of your partitions and the images can be compressed to reduce size. I do not know if this will work for you, but I hope it helps.
 
  


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
Copy Date/Time without actual files? - a real head scratcher tbeehler Linux - Software 17 07-25-2007 04:20 AM
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
Reading audio data files as an actual audio file? Erik_the_Red Linux - Software 1 06-01-2005 07:22 AM
configuration files max_sipos Programming 13 09-30-2004 01:44 PM
Where are programs files and configuration files stored? nutshell Linux - General 2 03-09-2002 10:24 AM

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

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