Restore cacti

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

Moderators: Developers, Moderators

Post Reply
tamias
Posts: 49
Joined: Thu Oct 16, 2008 7:12 am

Restore cacti

Post by tamias »

Сacti stopped working and I want to restore it from backups.
I have a backup folder /cacti. And also i made a copy of cactidb

Code: Select all

$ mysqldump -uroot -p cactidb > cactidb.sql
That's what I do to restore:

Code: Select all

$ mysqldump -uroot -p cactidb < cactidb.sql
Deleting not working cacti folder, restore cacti folder from the backup.
Now i have to be able to login and enter into console cacti but the graphics are not available, and not created.
Help me please!
Regards, Michail A.
IlPini
Posts: 33
Joined: Thu Jun 05, 2008 11:52 am
Location: Rome, Italy

Re: Restore cacti

Post by IlPini »

tamias wrote:That's what I do to restore:

Code: Select all

$ mysqldump -uroot -p cactidb < cactidb.sql
I'm no MySQL expert, but... shouldn't the command above be "mysql" instead of "mysqldump"?
tamias
Posts: 49
Joined: Thu Oct 16, 2008 7:12 am

Re: Restore cacti

Post by tamias »

IlPini wrote:
tamias wrote:That's what I do to restore:

Code: Select all

$ mysqldump -uroot -p cactidb < cactidb.sql
I'm no MySQL expert, but... shouldn't the command above be "mysql" instead of "mysqldump"?
I'm no MySQL expert too:
http://www.mydigitallife.info/2007/07/2 ... -tutorial/
and it works well
Regards, Michail A.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You are missing an important componet.

All graph related data is stored in the RRDTool files located in the rra directory of your original Cacti installation. Copy these files over.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest