System configuration and software settings location?
Is all system configuration settings and installed software settings stored in user home folder? If i want to backup all of my configuration and software settings do i have to copy just my user home folder?
|
The /etc directory holds a lot of system wide configuration data.
Your home directory also has some in hidden files that your user configured. Try this Code:
ls ~/.* |
Generally speaking /etc contains system wide configuration details
whilst your /home/username directory contains user specific details. |
Which files and folders from /etc directory i have to backup?
|
This or other searches may help: http://www.howtogeek.com/194342/how-...uration-files/
|
both, etc and the hidden configs in home are very small in size.
Just back up everything ls ~/.* I think that is not the best way, as .* may also give a positive result for .. which is not what one wants. |
so, to re-iterate:
Code:
ls -al $HOME/.* unfortunately linux is a bit of a jungle in that respect (but so is windows). |
I personally only backup any custom files I modify and know can transfer to a new install or disto... plus, of course, my data regularly and diversely! :D
|
ls ./.[!.]*
or like: ls ./.[a-zA-Z-0-9]* or such. |
Quote:
Certain config files can be copied over to a new install to restore previous customization, but don't count on a foolproof backup / restore type of situation. Cheers :-) |
Note that the /home/ for root is /root/.
So: /etc/* /home/* /root/* But it's really app dependent. Sometimes defaults / first run stuff is pulled from an apps /usr/share/ location. Not that that would affect you outside of distro or major versioning shifts. |
All times are GMT -5. The time now is 10:54 PM. |