retrieve historical data

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
omega655
Posts: 2
Joined: Tue Dec 18, 2007 2:12 pm

retrieve historical data

Post by omega655 »

Greetings, all. I had some trouble with Cacti and cactid, and after I got things working again I noticed that I no longer had any historical data. I did re-install Cacti, but I believed at that time that all the 'important stuff' was within MySQL somewhere (after reading some other posts, it appears that I was mistaken). Is all my old historical data lost forever? Is there a patch/hack/config one could use to make said data more robust?

Cheers,

-dd
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The MySQL database is used for storing cacti/device settings/templates/etc. All data that is recorded during polling is stored in the rrd files.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: retrieve historical data

Post by gandalf »

omega655 wrote:Is there a patch/hack/config one could use to make said data more robust?
The patch is to backup rrd files and mysqldump the cacti database.
Reinhard
omega655
Posts: 2
Joined: Tue Dec 18, 2007 2:12 pm

Never mind

Post by omega655 »

I tried a perl script to merge the files (rrd-merger), but XML::Twig wouldn't install (a pre-req). Ended up just stopping the cron job and moving all the backup files into the rra directory.

Thanks anyway, all.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests