Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: GhosT on October 01, 2006, 02:55:22 AM

Title: About Anope MySQL question
Post by: GhosT on October 01, 2006, 02:55:22 AM
Hi forumers,

I have an unclear question about Anope with MySQL. It is not a problem yet but i wanna be clear :)
If before I used Anope with MySQL and later on I want to use Anope with only *.db files but I have only SQL database, is there any solution?

Thanks,
Title:
Post by: katsklaw on October 01, 2006, 04:01:28 AM
Anope is in phase 2 still, which means it reads and writes from it's *.db files. If you delete the db files while services is shut down, then all your data is lost. Anope does not read from mysql in a live environment (yet).

Dumping data to mysql at this stage doesn't really do anything other than allow other entities such as a website to read from services data.
Title:
Post by: GhosT on October 01, 2006, 08:48:31 AM
Thank you katsklaw for your quick reply. It s clear now.
So, there should be a tool (in src/tools) to transfer data from SQL to *.db in case we lose *.db and have only SQL. That would be great :)
Title:
Post by: Jan Milants on October 01, 2006, 11:38:15 AM
simply start anope with UseRDB in services.conf defined...
Title:
Post by: katsklaw on October 01, 2006, 02:50:27 PM
Another thing is that if services is running and the db's are deleted, a simple /os update should fix the issue or wait until UpdateTimeout which by default is 5 minutes and the db's should be recreated.
Title:
Post by: GhosT on October 07, 2006, 11:35:20 AM
Quote
Originally posted by Viper
simply start anope with UseRDB in services.conf defined...

Thank you all, I will try this once ;)