-
|
Hi! I have over a year of data on my server. I have recently installed bungeecord and an additional server. Is there a way to migrate the data from the old install to the new one? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Not yet but it's almost ready, I'm trying to work out the kinks on the feature |
Beta Was this translation helpful? Give feedback.
-
|
Experimental build is available here: https://github.com/plan-player-analytics/Plan/actions/runs/20750442760 I recommend doing a mysqldump before trying it out just in case something goes wrong. I haven't fully tested all functionality, but the /plan db move sqlite mysql should function properly (I tested backup and restore which use the same code) There is also now /plan db merge sqlite mysql which merges the existing data. (This is untested) |
Beta Was this translation helpful? Give feedback.
If you have the data in MySQL you can just connect the other servers to that one.
If you have the data in SQLite, current 5.6 version
/plan db move sqlite mysqlmight work, or it might not. The problem with the existing system is that it fetches everything in memory before insert which can crash server if memory runs out. - New system tries to sort it out by batching the data insertsI don't know how long it'll take to fix it, there's something wrong with the batching logic that it tries to insert duplicate rows in some cases and fails entirely