Conf File Backup Idea
Bill Davidsen
davidsen at tmr.com
Mon Aug 3 19:34:16 UTC 2009
Todd Zullinger wrote:
> Dave Ihnat wrote:
>> On Fri, Jul 31, 2009 at 02:23:57PM -0400, Thom Paine wrote:
>>> I was wondering if anyone routinely backups their conf files?
>> Years ago I fell into the habit of using RCS for simple things like
>> this. Create a RCS directory, use 'ci' and 'co' to keep simple
>> versions of files.
>
> Well, that surely counts as 'old school' Dave! :)
>
> I didn't realize I was so old, but I used RCS for the same task in the
> past. I've gone from cvs to svn to git in the intervening years.
>
>
Overkill for running on one machine. RCS is just fine for something simple like
config, dead reliable.
So:
find /etc -cnewer /root/anaconda-ks.cfg | cpio -o -Hustar |
gpg -ea -r bkup_id | mail -s "Daily config $(date)" my_mail at somewhere.else
Compression, validation, and error checking in one shot.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the fedora-list
mailing list