Xymon Mailing List Archive search

Backup of Hobbit data and config files

2 messages in this thread

list Pierre Lardinois · Thu, 10 Aug 2006 11:53:47 +0200 ·
Hello,

Can someone tell me what directories / files that have to be backed up in
order to save data and config files to prevent a crash ?  Is it necessary to
copy the whole data directory ?  Currently, we have about 8 GB on the data
directory (about 1500 hosts). 

Are these existing automated solutions (nothing found on deadcat so far...)
? 

I'd be glad to receive some tips/tricks on how you perform your own backups.

Thank you for your support.

Regards,

Pierre

Pierre Lardinois
Int. ICT Infrastructure Team
TI Automotive
 

The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
list Henrik Størner · Thu, 10 Aug 2006 13:16:45 +0200 ·
quoted from Pierre Lardinois
On Thu, Aug 10, 2006 at 11:53:47AM +0200, Lardinois, Pierre wrote:
Can someone tell me what directories / files that have to be backed up in
order to save data and config files to prevent a crash ?  Is it necessary to
copy the whole data directory ?  Currently, we have about 8 GB on the data
directory (about 1500 hosts). 
The data/ directory holds all of the monitoring data, so if you want to
save everything, then yes - you will need to back up that entire
directory.

However, most of those 8 GB are probably historical status-logs. Each
time a status changes color, the current status log is saved in a
file in the data/histlogs/ directory. Over time, that becomes a lot
of files - and do you really need to know exactly what a disk status
was 3 years ago? Maybe, but if you don't need that much data then you
can use the "trimhistory" utility to trim the amount of data you keep.

Apart from the data/ directory, the server/etc/ directory should be
backed up - this is all of the Hobbit configuration files.

If you have created notes for online documentation, you will also
need to backup the server/www/notes/ directory.

If you have modified the header/footer templates, then add the
server/web/ directory.


Regards,
Henrik