Switching storage types
How to 🔗
Switching datastores is easy.
- Firstly, run
/luckperms export <file>
- Then, stop your server completely.
- Edit your config file and change the storage type.
- Now, start your server again. Let the new datastore initialise.
- Then, run
/luckperms import <file>
- All of your data should have been moved to the new datastore.
<file> is the name of the file that you want to save to/load from. The file will/must be located in the LuckPerms data folder. You can call it whatever you like in the export command (e.g. data
) - but you obviously need to use the same name when you re-import it.
Web Exporting 🔗
- Run
/luckperms export --upload
- Take the 10 digit code that it gives you and save it somewhere.
- Completely stop the server
- Edit your config file and change the storage type.
- Run
/luckperms import <10 digit code> --upload
- All of your data should be moved to the new datastore
Backups 🔗
You can also use this feature to backup all of your LuckPerms data. Just run the export command, and save the file output in a safe place. Note that the --upload
variant of the webexport command will expire and as such is likely not the ideal method for backup storage.