Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My last copy of Linux died. I had to install a new copy of Linux so I could get my files from the old copy. I would like to format and start fresh now. Before I do that, I would like to save the user/program settings from my old copy of Linux.
Is there an EASY way I can backup user/program settings?
Last edited by Cinematography; 05-13-2005 at 07:24 PM.
Moving them from distro to distro is not the easiest task as files have a tendency to be in slightly different locations on different systems. However, you'd want to keep your entire home directory (perhaps make a preserving-style tarball of the thing) and probably the files in /etc. These would at least give you a place to store settings to refer to later.
In general, global configuration files go in the /etc directory. Individual users' configurations go in files or directory prefixed by a . (dot) in their home directory. You should back up the appropriate configs for /etc and of course copy over user home dirs you will need.
Originally posted by Matir Moving them from distro to distro is not the easiest task as files have a tendency to be in slightly different locations on different systems.
How about if I'm moving from Mandrake to Mandrake?
Quote:
Originally posted by btmiller In general, global configuration files go in the /etc directory. Individual users' configurations go in files or directory prefixed by a . (dot) in their home directory. You should back up the appropriate configs for /etc and of course copy over user home dirs you will need.
Are these directories hidden? I can't seem to find them.
Quote:
Originally posted by mrcheeks Basically you just want to do a :
Code:
tar jcvf home-backup.tar.bz2 ~/.*
and a zip of global configuration files in /etc that you might need.
Beautiful command line. What if I wanted to just backup the files in my home directory and not the files on my desktop? I have a huge video editing directory on my desktop that I would like to backup later.
Directories and files beginning with a '.' are indeed hidden. Those in your home directory are generally configuration, preference, startup, and history files. I would add 'p' to the tar command line to preserve permissions, though!
Originally posted by Matir Directories and files beginning with a '.' are indeed hidden. Those in your home directory are generally configuration, preference, startup, and history files. I would add 'p' to the tar command line to preserve permissions, though!
Is there a way I could see these files so I can see what I'm doing with them? Or backup just my program/os settings?
Last edited by Cinematography; 05-13-2005 at 05:07 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.