Cannot restore host list from backup files.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mynn
Posts: 1
Joined: Fri Sep 24, 2010 9:27 pm

Cannot restore host list from backup files.

Post by mynn »

Hi, I am using CactiEZ. It backups cacti with "backup.sh". But I have problem on restoring data...

I followed the instructions on internet and restroed the rra files into /var/www/html/rra.
Also used code below to get back mysql:

Code: Select all

mysql cacti < /var/www/html/cacti-backup.sql
mysql syslog < /var/www/html/syslog.sql
But there are not any hosts showed in the list on the cacti webpage. I have no idea on how i can settle down the problem...

I am not familiar with mysql, seems that the cacti database is empty. (using "select count(*) from cdef" and the result is 0).

Much appreciate~~
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cannot restore host list from backup files.

Post by gandalf »

In most cases, mysql will require a user and a password to perform those requests. E.g. "mysql --user=cactiuser -p cacti < backup.sql"
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest