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.
Everything is continuously being backed-up, including hidden files.
When I update a Linux kernel, I always make a non-hidden, uniquely-named copy of the hidden kernel-configuration file in a completely separate location. (In some cases, I copy it to the same file-name, then "commit" the changed version to "git" version-control.) This allows me to quickly revert to any previous configuration, and to diff any pair of them in order to discover precisely what is different.
I don't make any distinction between dot files and other types of files. I just copy them, delete them, back them up, and restore them the same as any other file.
I don't make any distinction between dot files and other types of files. I just copy them, delete them, back them up, and restore them the same as any other file.
Totally, agree. Can't see any reason to treat them differently.
My daily backups ignore dotfiles, but I do have a complete backup kept separately. Since they are seldom altered, that's adequate. I can't ignore them: losing .fonts, .XCompose, .wine, or all my keyboard short-cuts would be a nightmare.
I back them up daily along with everything else. The trash, cache, and thumbnail directories get excluded, and things like .bash_history and browser history get backed up separately with a different retention policy. As for the others, let's just say that if I wanted to know what my .bashrc file looked like in February, 2004, I know where to find it.
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71
Rep:
Wasn't exactly sure what you are querying. They get dealt with same as any other files depending on what they are and what I'm doing.
I guess the real question should be 'are you aware of dot files and which ones matter to you for purposes such as backup'.
I also have a sneaking suspicion that Jeremy suspects there are people out there who aren't aware of them and he wants to subtly bring them to peoples attention.
I rsync my home directory, as root and my /etc directory to an external USB3 drive once a week.
The first time takes about 2 hours, after that it's about a 15 minute operation.
Formally I would boot off a USB drive and dd every byte to a backup file on a usb3 external disk but that took 2.5 hours so I've gone to the rsync method.
I had a HDD go down on me just b4 Christmas and I had a copy of /home and /etc and was able to rebuild in less than a day (if you exclude the fighting I had to do with grub2).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.