<div dir="ltr">So, we do this 2 ways in my shop:<div><br></div><div>1). We have a full replica system in another data center, which, along with having all the system/profile/repo/file/etc data replicated, serves systems in that DC w/ dhcp/pxe/kickstart etc. All changes are made on our primary and a sync trigger kicks off a replication run to the "slave" system. </div>
<div>2). Both systems get their /var/lib/cobbler (where all the configs live) backed up hourly.</div><div><br></div><div>Everything else (everything that ends up in /etc/cobbler/, etc) including the install, populating our few hundred subnets in to the dhcp.template, etc etc, is done via puppet (which is in a backed up git repo). </div>
<div><br></div><div>So, I can build a new cobbler instance about 99% hands off, with the 1% being restoring the contents of /var/lib/cobbler from backup and running a sync. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 8, 2014 at 2:54 PM, Tim Skirvin <span dir="ltr"><<a href="mailto:tskirvin@fnal.gov" target="_blank">tskirvin@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is the current best practice for backing up and restoring a<br>
cobbler server's data, as part of a disaster recovery scenario?<br>
<br>
The best I can see in the online documentation is to use the<br>
'replicate' functionality; but that requires rsync, which seems an odd<br>
requirement (why not allow ssh?), and it also requires that you have a<br>
single working cobbler server in the first place.<br>
<br>
Maybe another way to ask the question: if I wanted to restore my<br>
cobbler configuration from tape, what would I have to do besides restore<br>
/var/lib/cobbler/* and /etc/cobbler/settings from backup and run 'cobbler<br>
sync'?<br>
<br>
- Tim Skirvin (<a href="mailto:tskirvin@fnal.gov">tskirvin@fnal.gov</a>)<br>
<span class="HOEnZb"><font color="#888888">--<br>
HPC Systems Administrator / Developer <a href="http://www.linkedin.com/in/tskirvin" target="_blank">http://www.linkedin.com/in/tskirvin</a><br>
USCMS-T1 Collaboration Fermilab Scientific Computing<br>
</font></span><br>_______________________________________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org">cobbler@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/cobbler</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthew Nicholson
</div>