[solved] Help! Restore cacti failed

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

Moderators: Developers, Moderators

Post Reply
i_lius
Posts: 10
Joined: Wed Sep 15, 2010 7:13 am

[solved] Help! Restore cacti failed

Post by i_lius »

Hi,
I recently moving server from Win 2008 R2 running cacti 0.8.8a to Win 7 Ultimate 64bit.
Done backup of mysql, the rrd files & others related folder, following the instruction given in the manual (documentation) and by reading the forum, but it failed to restore on the new machine.

the steps i've done to restore:

1. Install new cacti using windows installer (http://forums.cacti.net/viewtopic.php?f=3&t=14946)
it ran new cacti fine.

2. Restore mysql database:
mysqldump -u root -p cacti < cacti.sql

3. copy rrd, scripts, resources from old cacti

tried open cacti http://127.0.0.1/cacti, expecting old data is restored, but it didn't. cacti can only accept the default user name and password and is empty.

folder locations are all exactly the same as the old ones.

Is there any step i'm missing here?

Any help or direction would be very appreciated.

Thanks!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Help! Restore cacti failed

Post by BSOD2600 »

mysqldump is for... dumping the database. you want to use mysql -u root -p cacti > cacti.sql to import.
i_lius
Posts: 10
Joined: Wed Sep 15, 2010 7:13 am

Re: Help! Restore cacti failed

Post by i_lius »

Gees it works! Thanks again BSOD2600 you're the best!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests