September 01, 2024, 03:39:33 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Anope IRC Services
>
Anope Development
>
Feature Requests
>
Module db backup
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: Module db backup (Read 5996 times)
0 Members and 1 Guest are viewing this topic.
Trystan Scott Lee
Contributor
Offline
Gender:
Posts: 343
Module db backup
«
on:
August 17, 2006, 04:51:30 AM »
Currently it is a pain for module coders to backup their db's they have to catch the event and then do alot of code to get there. I have come up with a patch to make it easier see..
http://www.nomadinc.net/tempdir/moduledb.diff
int db_backevent(int ac, char **av)
{
if (!stricmp(av[0], EVENT_STOP)) {
ModuleDatabaseBackup(moddbname);
}
}
Logged
my God my tourniquet, return to me salvation
Tom65789
Anope User
Offline
Posts: 343
(No subject)
«
Reply #1 on:
August 17, 2006, 11:28:48 AM »
thanks Trystan, i already found a use for it in a module im working on and it really does help.
Logged
http://www.area51designz.com
http://www.T65789.co.uk
http://www.onenetirc.com
Print
Pages: [
1
]
Go Up
« previous
next »