Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Copy banlist, levels to another server


  • Please log in to reply
8 replies to this topic

#1
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

Hi, how can I copy my banlist and admin levels from 1 server to another? I just copy the shrubbot file or?



#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Ban list and level definitions are in the shrubbot.cfg and you can copy it. You can also copy the db files. But you can't simultaneously use the same db files with two running servers.



#3
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

thx



#4
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road

^ You could probably run a script on a 1hr cron job to sync the two databases though ^_^ Not really sure of the best way to do this but it's doable :)



#5
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

You would copy over one database with another that way.



#6
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

Yea would b awesome to make that possible...



#7
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road

You would copy over one database with another that way.

 

I didnt mean like that.. I meant comparing the text contents of the two files, and merging them (ignoring / removing any duplicates), then overwriting both dbs with the new 'merged' one.


Edited by Chuckun, 14 June 2013 - 01:21 AM.


#8
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

silEnT's DB differ from the one known from Jaymod, it's not just plain text.



#9
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road

Oh, I was unaware :P I don't host any servers so I've never experienced it server-side :P Nevermind then! ^_^






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users