<div dir="ltr"><div><div><div><div><div><div>I think this is helpful in some cases, but it may cause trouble in other cases.<br><br></div>The /etc directory does not exist in a vacuum. It is often linked to software packages that are in other parts of the file system (/var, /usr, /opt, ...etc.)<br><br></div>Also, there are all those dot files and directories in your home directory that configure various things you use (your browser, office suite, editor, file manager, desktop, widgets, ...etc.)<br><br></div>So, backing up just /etc has its uses, but it would not cover everything. <br><br></div>The ideal solution is a snapshot of 'the system' as it exists, with all the various parts in their state at the time of the snapshot. A full system backup is supposed to do that. As others said, ZFS does that too. LVM also has some features related to snapshots (from what I understand), but they are whole snapshots, not deltas like ZFS.<br><br></div>If you have a disaster, the fallback is to restore a full backup, going to a known state, despite losing stuff from the time of the backup until the time of the disaster. But consistency and integrity is preserved. <br><br></div>That is not to say that you can do partial restores (specific files, e.g. that spread sheet from two weeks ago).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 9, 2017 at 11:09 AM, B.S. <span dir="ltr"><<a href="mailto:bs27975.2@gmail.com" target="_blank">bs27975.2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So, I can see value in keeping everything in a directory in git, for the day I change some config file when trying something, decide that was the wrong thing to try, and want to revert but forget what I did. (e.g. Some obscure option setting I can't recall the specific syntax for.)<br>
<br>
To that end, I've installed etckeeper, and will just let that run.<br>
<br>
Outside of /etc, I can 'git init' any given directory, and duplicate etckeeper's daily cron git commits in some fashion. (cd favdir ; while true ; git -am add ; git commit; sleep 24hours ; done; )<br>
<br>
I don't use git enough to ever be able to remember command lines, so could appreciate the idea of a git aware file browser gui that understands working backwards / forwards in file versions. I see, for example, git-gui, which will spawn gitk as desired, and google quickly reveals many other gui candidates. Also cool is sshfs'ing and running such gui on local system against remote non-gui server. (Not looking to replicate such git's / there is no git server there.)<br>
<br>
What am I?<br>
<br>
i.e. What facilities / search terms am I blindly groping in the dark towards?<br>
<br>
I am going to shoot myself in the foot eventually, and will want to revert to a prior file version. Assume no backups. (i.e. I could daily rsync / snapshot to dated file/directory versions, but that's just another form of what I'm already asking about.) K.I.S.S. / easy viewing of prior file versions, applies.<br>
<br>
Suggestions? / thoughts? / links? / thanks.<br>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listi<wbr>nfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br></div>
</div>