diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-04-22 20:19:18 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-04-22 20:19:18 +0100 |
| commit | 894f1c2ed9356556954889f82c0a473354f83808 (patch) | |
| tree | 8ca8a47de37e2ebc7dfe33e5cce68ce423c1e13e /bukkit/src/main/resources | |
| parent | 43e647990b611205676bb42623a3814a904fe0e8 (diff) | |
Add quests data migration tool
Diffstat (limited to 'bukkit/src/main/resources')
| -rw-r--r-- | bukkit/src/main/resources/resources/bukkit/migrate_data.yml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/bukkit/src/main/resources/resources/bukkit/migrate_data.yml b/bukkit/src/main/resources/resources/bukkit/migrate_data.yml new file mode 100644 index 00000000..0c392072 --- /dev/null +++ b/bukkit/src/main/resources/resources/bukkit/migrate_data.yml @@ -0,0 +1,49 @@ +# This file was automatically generated by the Quests data migration tool (/q a migratedata). +# Please read these instructions carefully. +# +# The Quests data migration tool is a tool that allows you to migrate your data from one storage +# system (referred to as 'storage provider') to another. This file serves as a configuration for +# both storage systems to migrate from. +# +# The 'from' section below is the configuration for the storage provider you are migrating from. +# The 'to' section below is the configuration for the storage provider you are migrating to. +# +# The 'from' and 'to' sections are both required. +# +# When you have configured both storage providers, you must set the 'ready' flag to true. +# The command will not work if this is not done. +# +# WARNING: This process should be done on a server with no players online, from your +# server console. Unexpected behaviour or potential data corruption may occur +# if players are online! +# +# One everything is configured, you can execute the migration with the following command: +# /quests admin migratedata execute +# +# When the process has finished, you can remove this file. You must update your main +# configuration file to point to the new storage provider manually. +# +# These instructions are also available on the wiki: +# https://github.com/LMBishop/Quests/wiki/Data-migration-tool + +# Data provider to migrate from +from: + provider: "yaml" + +# Data provider to migrate to +to: + provider: "mysql" + database-settings: + network: + database: "minecraft" + username: "root" + password: "" + address: "localhost:3306" + connection-pool-settings: + maximum-pool-size: 8 + minimum-idle: 8 + maximum-lifetime: 1800000 + connection-timeout: 5000 + table-prefix: "quests_" + +ready: false |
