Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Merging Databases?  (Read 2873 times)

0 Members and 1 Guest are viewing this topic.

SoulReaper

  • Guest
Merging Databases?
« on: October 24, 2007, 02:44:31 AM »

Hiya!

Ive been wondering how to merge databases (.db files, not mysql), if possible.

Thanks in advance!

btw, im using linux fedora core 7 and anope the newest.
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: October 24, 2007, 03:14:28 AM »

1> make a new directory, doesn't matter what you name it.
2> copy 1 set of .db's into the folder (only need nick, chan, host and bot)
3> rename each db from nick.db to nick1.db, then chan1, host1 and bot1
4> copy the other set to directory and rename them nick2.db, chan2. host2 and bot2
5> copy tools/db-merger into the directory and run it (./db-merger)
6> pay attention
7> take your time
8> answer the simple questions after carefully reading each question.
9> when the tool is finished, copy nick.db, chan, host and bot into the same directory that your services.conf is in.
10> start services.
11> enjoy!
Logged

SoulReaper

  • Guest
(No subject)
« Reply #2 on: October 24, 2007, 03:25:36 AM »

Thank you~~
Logged

SNU

  • Anope User
  • Offline Offline
  • Posts: 158
    • http://www.firstclassirc.com
(No subject)
« Reply #3 on: October 24, 2007, 06:06:46 AM »

btw:
Will merging an an "old" 1.6.5 crypted database with an 1.7.19 "enc_old" work?
Logged

katsklaw

  • Guest
(No subject)
« Reply #4 on: October 24, 2007, 12:14:17 PM »

Quote
Originally posted by SNU
btw:
Will merging an an "old" 1.6.5 crypted database with an 1.7.19 "enc_old" work?


yes.
Logged
Pages: [1]   Go Up