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 06-01-2017, 08:14 PM   #31
binarylu
LQ Newbie
 
Registered: May 2017
Posts: 1

Rep: Reputation: Disabled

save my dotfiles on github, an installation script as well. To restore, just one command like installing oh-my-zsh. The script supports to restore different dotfile depends on different OS and ENV.

It saved my a lot of time.
 
Old 06-02-2017, 02:45 AM   #32
sbaynes
LQ Newbie
 
Registered: Oct 2014
Posts: 28

Rep: Reputation: Disabled
They are normal files backed up with the rest of the home file system by the sysadmin.
 
Old 06-02-2017, 02:55 AM   #33
Wolfgang-B
LQ Newbie
 
Registered: May 2017
Posts: 3

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

I always let the dotfiles view and treat them like all the files.
M.f.G.
Wolfgang
 
Old 06-02-2017, 03:15 AM   #34
pgloor
LQ Newbie
 
Registered: Nov 2012
Posts: 8

Rep: Reputation: Disabled
I dont care much. They are included in the backups.
 
Old 06-02-2017, 03:49 AM   #35
frankhjung
LQ Newbie
 
Registered: Mar 2011
Location: Melbourne, Australia
Distribution: debian
Posts: 4

Rep: Reputation: 3
Via - Automation.
If I have at all customised a dot file, then I use Ansible to manage it.

Last edited by frankhjung; 06-02-2017 at 03:49 AM. Reason: duplicate signature
 
Old 06-02-2017, 07:20 AM   #36
rinaldij
Member
 
Registered: May 2011
Location: Oklahoma
Distribution: Slackware64 current
Posts: 55

Rep: Reputation: 10
Same as everything else. Nightly rsync to different drive, weekly rsync to remote drive.
 
Old 06-02-2017, 10:11 AM   #37
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You made me look for it .

On my system there is no need for special treatment: I do backups with backintime of my /home directory including any .files (backintime is a frontend for rsync) and openSUSE takes btrfs-snapshots every time the system is touched -- so, everything is cared for and I never even noticed. HTH.
 
Old 06-03-2017, 07:23 AM   #38
onlyonemac
Member
 
Registered: Dec 2014
Distribution: Ubuntu MATE
Posts: 65

Rep: Reputation: Disabled
I image my disks. This backs up everything.
 
Old 06-03-2017, 08:26 AM   #39
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
RCS and rsync to a backup system at a friends house
 
Old 06-05-2017, 03:16 AM   #40
Lucio Chiappetti
Member
 
Registered: Dec 2014
Location: Milan Italy
Distribution: Xubuntu OpenSuse
Posts: 54

Rep: Reputation: Disabled
I don't do anything special for dot files. I backup (rsync) nightly all my working disk to a spare disk. When (every few years !) I update hardware and OS, I take care of copying them one by one to the new system (those which I have personally edited and I want to continue doing what I wanted ... for the others added by una tantum applications I just forget and let them be recreated).

Of course I tend to avoid creating real working files in the home directory directly, so it should contain only dot files and subdirectories.
 
Old 06-05-2017, 04:02 AM   #41
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Like others, I have no special treatment for dot files.

My home directory is backed up weekly on a file-by-file and partition basis to external media.

If I'm reinstalling from scratch then it tends to be a major version upgrade and so I reinstall everything from scratch (although with my diverse configurations, this may take several hours). The backups are only there for file(s)/partition rollback in case of problems.
 
Old 06-06-2017, 04:22 AM   #42
Tux!
Member
 
Registered: May 2011
Location: Netherlands
Distribution: openSUSE
Posts: 114

Rep: Reputation: 32
rsync and github

For personal dot-files, I keep my main box up-to-date with all changes I make anywhere and rsync from there

Main box has a daily backup of those dot files
One of the boxes it syncs to backups twice a day to a backup server with a 10yr history

Public dot-files, like for cpanprefs or elvis, are stored in github projects
 
Old 06-06-2017, 06:57 AM   #43
wolsonjr
Member
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71

Rep: Reputation: 34
One thing I hadn't mentioned previously is -
I've written script files to modify/install various dot file customizations for the rare occurrence of a fresh install. These are maintained on several systems so they are always available as needed.
It also serves as a handy reference for the changes I've made.
 
Old 09-04-2017, 06:48 AM   #44
felipeabrao
Member
 
Registered: May 2017
Posts: 43

Rep: Reputation: Disabled
I don't do anything.
 
Old 09-04-2017, 01:21 PM   #45
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
My own question, and the bigger question i see behind most answers here, is:
What are dotfiles actually? (and p-lease not the literal definition)
why would i treat a particular subset of files differently?
isn't it much more important to define which files - once i know that for sure, the method of controling them should be much easier to settle on.
 
  


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 05:25 AM.

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