Help restoring data in Cacti
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Fri Mar 17, 2006 12:29 pm
Help restoring data in Cacti
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests