Correct me if i'm wrong.<div><br></div><div>The basic nagios backup and restore procedure is:</div><div><br></div><div>- stop the nagios daemon</div><div>- copy the contents of /etc/nagios3/, /usr/share/nagios/, /usr/share/nagios3/ to the same directory in the new server</div>
<div>- before running, aptitude install nagios-plugins</div><div>- start the nagios daemon</div><div><br></div><div>Enjoy the happy end?</div><div><br><div><br><div class="gmail_quote">2012/5/11 Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div>On Fri, May 11, 2012 at 3:55 PM, Luis H. Forchesatto <span dir="ltr"><<a href="mailto:luisforchesatto@gmail.com" target="_blank">luisforchesatto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It really needs rsync, can't I use a simple copy command instead?<br></blockquote></div><div><br>Whether you use scp, rsync, copy+paste, print out + write new, the postal way or whatever is up to you.<br>The important information is that the config files will be compatible so you have a thousand ways to copy the files from A to B.<br>
Just make sure that the nagios user has the correct permissions on the files (thats why Andreas suggested rsync I'd say).<br> </div><div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br><div class="gmail_quote">2012/5/11 Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote:<br>
> Hi<br>
><br>
> Someone know the correct backup and restore procedure to export<br>
> nagios 3.0.6 from one server do another nagios 3.2.1 server?<br>
><br>
<br>
</div>rsync. Nothing important's changed in object config, and the rest will<br>
just be simple and quick manual tweaking of nagios.cfg, if any at all.<br></blockquote></div><div><br>You will have to recompile the Nagios plugins as you change the architecture. <br>But with the configuration files you don't have to worry much - rsync or copy like Andreas suggested works fine. <br>
</div></div>
<br></div></div><div>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></div></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Att.<b><br></b><b></b><br>
</font></span><br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div></div></div><br>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Att.<b><br></b><b></b><br>
</div></div>