|
|
| Author |
Message |
tamias
Joined: 16 Oct 2008 Posts: 34
|
Posted: Tue Nov 18, 2008 11:55 pm Post subject: Restore cacti |
|
|
С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: | | $ mysqldump -uroot -p cactidb > cactidb.sql |
That's what I do to restore:
| Code: | | $ 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! |
|
| Back to top |
|
 |
IlPini
Joined: 05 Jun 2008 Posts: 32 Location: Rome, Italy
|
Posted: Wed Nov 19, 2008 3:59 pm Post subject: Re: Restore cacti |
|
|
| tamias wrote: | That's what I do to restore:
| Code: | | $ mysqldump -uroot -p cactidb < cactidb.sql |
|
I'm no MySQL expert, but... shouldn't the command above be "mysql" instead of "mysqldump"? |
|
| Back to top |
|
 |
tamias
Joined: 16 Oct 2008 Posts: 34
|
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5469 Location: Wisconsin, USA
|
Posted: Thu Nov 20, 2008 9:05 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|