add web export to switchstorage

Larry 2020-07-04 13:47:31 -06:00 committed by Luck
parent 49a9e670e3
commit d8a608c486
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

@ -10,6 +10,15 @@ Switching datastores is easy.
\<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.txt`) - but you obviously need to use the same name when you re-import it.
## 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.
## Web Exporting
1. Run `/luckperms export --upload`
2. Take the 10 digit code that it gives you and save it somewhere.
3. Completely stop the server
4. Edit your config file and change the storage type.
5. Run `/luckperms import <10 digit code> --upload`
6. 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.