LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 05-31-2017, 09:07 AM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
How do you manage your dotfiles?


The official LQ poll series continues. This time we want to know: How do you manage your dotfiles?

NOTE: If you don't currently, a few URLs you may want to check out before answering:

https://dotfiles.github.io/
https://developer.atlassian.com/blog...git-bare-repo/
http://brandon.invergo.net/news/2012...-dotfiles.html

--jeremy
 
Old 05-31-2017, 09:26 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
They're in the same incremental backup system as everything else on the machines.
 
Old 05-31-2017, 09:36 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I didn't even know I was suppose to .. <--- them little dots are now going to manifest into a psychoses -- oh dear
 
Old 05-31-2017, 09:49 AM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Really, I don't. I don't change my defaults enough to bother with backing them up. The default from a fresh profile works for me.

Last edited by Timothy Miller; 05-31-2017 at 09:50 AM.
 
Old 05-31-2017, 10:21 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
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.
 
Old 05-31-2017, 10:28 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,344

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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.

--------------------
Steve Stites
 
1 members found this post helpful.
Old 05-31-2017, 10:37 AM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,989

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Quote:
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.
 
1 members found this post helpful.
Old 05-31-2017, 10:47 AM   #8
jford_oldman
Member
 
Registered: Apr 2005
Location: western PA, USA - near Pittsburgh, kind of
Distribution: Debian
Posts: 36

Rep: Reputation: 17
I use rsbackup. Like several others have posted, the dot files are backed up routinely.
 
Old 05-31-2017, 11:00 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
They always seem to manage just fine.
 
Old 05-31-2017, 12:03 PM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 05-31-2017, 12:46 PM   #11
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,783

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
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.
 
Old 05-31-2017, 03:53 PM   #12
wolsonjr
Member
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71

Rep: Reputation: 34
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.

Last edited by wolsonjr; 05-31-2017 at 03:57 PM.
 
Old 05-31-2017, 05:28 PM   #13
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
They get backed up like any other file using rsnapshot.
 
Old 05-31-2017, 06:37 PM   #14
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Same as all my other files - on my on AND off site sneakernet.
 
Old 05-31-2017, 07:09 PM   #15
jserink
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Dot files

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).

Cheers,
John
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ls showing dotfiles in bash iaef Linux - Newbie 9 08-28-2015 05:49 PM
[SOLVED] Sourcing dotfiles. Lockywolf Slackware 27 05-06-2014 06:53 AM
[SOLVED] Dotfiles becoming undotted in 64-13.1 ahmadj Slackware 9 12-24-2010 01:50 PM
Archive dotfiles and dotdirectories only mjmwired Linux - Software 3 05-28-2008 10:01 PM
Command line: How do I filter for dotfiles only? unamiccia Linux - General 21 04-14-2004 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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