Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I know that it is sooooooo easy to simple throw in a USB-stick or other external drive and clone whole file systems. However, I don't want to do that. I hope that folks here can help me sort things out.
I want to save only the configuration details:
for each end-user
for the workstation as a whole
I can name various categories of details that I want, but I have no idea which folder(s) and file(s) contain those details. For example, what do I save to preserve the "desktop environment" settings for an end-user versus the underlying "desktop environment" settings for the whole workstation?
I know that system details are in the /etc folder tree along with the /boot folder tree. I'm sure there are more. I know, too, that much of system "configuration" happens by magic at system startup. For example, X-Windows "configuration" is, and always has been, dark arcane magic.
I know that end-user details are in their respective $HOME folder along with all sorts of other end-user data files that are not "configuration." Many of these are some form of dot-something files or folders.
I know that there are "data files" that can be (and should be) considered "configuration" files. For example, browser bookmarks.
"Generally" if you want to save configuration, then you would want
/etc for systemwide configuration
/home for user configuration
/root for root user configuration
Although - once things go wrong and you need to restore a file related to a users configuration - you will be very happy to have had a complete system backup instead. Because sometimes things just get put in non-standard directories.
...
sometimes things just get put in non-standard directories.
Don't you just love non-standard standards. Gone are the days when folks built CLI software with a "standard" set of options with both short "-s" and long "--something" command line options; when configuration info went into "somethingrc" or ".somethingrc" or "something.conf" of the $HOME folder. That executables and their parts went into "/usr/local/something".
No. I'm partial to the Blue Ridge and Smokies of the Carolinas and Northern Georgia.
Although, "fjord" is another word for "lake" if I remember, and I miss them, too.
Don't you just love non-standard standards. ... when configuration info went into "somethingrc" or ".somethingrc" or "something.conf" of the $HOME folder.
there you already gave an example for a non-standard standard that comes from "the old days"...
but I usually forget something, but oh, well.
Can't back up everything, or can you?
ondoho said "not sure what you want to achieve" and that hasn't been made clear.
I keep my stuff synchronized on USB,
the system I'm not worried about, as it' only an install away.
I can re-install my LM17.1 in 15m and be back to work work in 20m
"Worstations as a whole" - Keep track of what you install on the system.
Make a List and stick on your coffee pot so you'll find it.
The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary. [1]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.