On 31.10.2012 21:57, Stephane Bortzmeyer wrote:
> I would like to keep a backup of my Icinga historical data, in case
> something goes wrong on the monitoring machine. I do not use IDOutils
> <https://wiki.icinga.org/display/howtos/Icinga+IDOUtils+Backup>

i wrote some for the basic stuff as well

https://wiki.icinga.org/display/howtos/Icinga+Core+Backup
https://wiki.icinga.org/display/howtos/Icinga+Classic+UI+Backup

these capture the all the stuff you should and need not backup.

>
> Which files should I back up? /var/spool/icinga and /var/log/icinga
> (actually, $log_file and $log_archive_path)?
> Is it enough?

Reading through your blog, you are using a raspberry pi with archlinux 
iirc. I'm notexactly sure how the filesystem organisation is done over 
there, but basically for historical backups of core/classic ui you 
should backup the following on wherever location

logs
* icinga.log
* archives/icinga-$date.log

retained state information
* retention.dat

plus all your configs, ofc.

kind regards,
michael

>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

mail:     michael.friedr...@gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmi...@jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to