Recover RRD and SQL from backup

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

Moderators: Developers, Moderators

Post Reply
Quickybilly
Posts: 18
Joined: Fri Apr 09, 2010 3:09 am

Recover RRD and SQL from backup

Post by Quickybilly »

Hello,

After several problems, I decided to format the server and reinstall Cacti. I'll do it with BSOD installer as soon as I download it.

Could you please explain which files should I recover from backup to have all the devices back without having to re-create them again?

I guess the RRD files will be no problem, as you only need to copy them to the RRA folder, but what about the database? Do I need to recover the file cacti.sql and overwrite the one existing after installing cacti? Will I need to make any changes in another files or folders?

Thank you very much.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

The database stores all configuration you made via the webinterface.

You can export it via:

Code: Select all

mysqldump -opt [databasename] > dbsave.sql --password
..and reimport it like this:

Code: Select all

 mysql [databasename] < dbsave.sql --password
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
Quickybilly
Posts: 18
Joined: Fri Apr 09, 2010 3:09 am

Post by Quickybilly »

Thank you very much Sirup.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests