Importing files to database
GamingVexed opened this issue · 6 comments
I have setuped database in my bungeecord network, but i want import ranks to database from survival, i tried /lp import luckperms-h2.mv.db, but it gave an error ,i heard that luckperms-h2.mv.db is the file where are the ranks stored, so help?
You should follow this guide if you want to change the storage method: https://luckperms.net/wiki/Switching-storage-types
The file name of the export file is anything (backup
, data
, perms
, etc).
- Stop your server. Switch your
storage-method
back to how it was originally (I presume it wasH2
). - Start your server and run
/lp export data
. - Stop the server, Switch your
storage-method
to the new database one. - Start the server, run
/lp import data
. - Voilà.
Well i did /lp export data then /lp export perms then i restarted server, then i did 2 same again exept import over export and in other server i did /lp sync