Help restoring data in Cacti

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
shareef777
Posts: 1
Joined: Fri Mar 17, 2006 12:29 pm

Help restoring data in Cacti

Post by shareef777 »

MySQL was erroneously removed from our server. I was able to reinstall MySQL 4.1, but unable to restore the database itself. The rra folder was backed up and saved, but how do I grab the information contained within these rrd files to restore into Cacti?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It all depends. If the MySQL application was removed from Add/Remove programs, but the directory was left untouched, your data should still be there. If that' the case, do the following:

1) Backup the C:\Program Files\MySQL\MySQL 4.x Server\data directory
2) Reinstall the Application
3) Verify that your database directory is still in place in that direcory, if not restore the subdirectory for your database
4) Enter the Mysql console and reestablish your poller user id's writes to the database.
5) Restart your poller.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest