Skip to content

Migration

Gareth Coles edited this page Mar 24, 2015 · 1 revision

<< Configuration | Home | Usage >>

ArchBlock is able to fully import WatchBlock's data, and will convert all usernames to UUIDs where possible. However, ArchBlock requires this data to be in WatchBlock's (rather weird) flatfile format. To do this, you should run /wb-import-sql-to-flat (as shown on the old commands page for WatchBlock). If this doesn't work for some reason, or if there's a demand for it, leave a ticket and I'll consider supporting direct migration from the database as well.

Once you've done this, be sure that both WatchBlock and ArchBlock are able to load successfully, set migrate to true in your ArchBlock configuration, and restart your server. Note that this can take quite a long time, especially if you have a slow server machine or a lot of data to migrate, and you should plan ahead for the next day or two in those cases. If you need to stop the process for any reason, simply kill the java process that corresponds with the server instance.

It's safe to re-run migration at a later stage, but please note that any blocks already in the database that happen to also be owned by someone in the WatchBlock data files will have their ownership overwritten.

<< Configuration | Home | Usage >>

Clone this wiki locally