Re: Conf File Backup Idea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thom Paine wrote:
I was wondering if anyone routinely backups their conf files? I am
trying to figure out a way to just backup any of the conf files I
regularly use so that I can rsync them to an offsite server somewhere.

I'm not looking to do a full server backup, as that isn't really my
intention. I'm looking at things like dhcpd.conf, httpd.conf, bind,
that sort of thing, so that I can quickly roll out a new server based
on the old one.

Where I am going with this, is that I am anticipating replacing some
hard drives in a server of mine with some larger ones. Also I almost
lost a whole server worth of stuff (it is very aged and nothing
mission critical) but that got me to thinking if I had a program or
some sort of a way to add files I've edited to a list that get rsynced
somewhere, that would be something I am very interested in.

Even if I just make a directory and make a symbolic link to it, would
that work? Expanding on this would let me backup a weeks worth of
versions in the event I don't like a change I made to one file.

Anyways, just looking for some ideas here on this.

Since config files can be scattered all over hell-and-gone and don't all
conform to a standardized filename format, it'd be quite difficult.  I
suppose you could do something like:

	find / -name "*.conf" >/tmp/conflist.txt

to build a list of files with ".conf" at the end, but that wouldn't
grab your bind configs for example.  For those that don't match the
find's criteria, you could manually append them to /tmp/conflist.txt,
then use something like the "--files-from=/tmp/conflist.txt" option to
rsync or tar to back them up.

Just an idea.  Your mileage may vary.  Void where prohibited.  Some
batteries required.  (insert appropriate disclaimer here)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   The light at the end of the tunnel is really an oncoming train.  -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux