-
-
Notifications
You must be signed in to change notification settings - Fork 4
Storage
Moros edited this page Mar 9, 2024
·
2 revisions
Remote | Local |
---|---|
PostgreSQL* | H2* |
MariaDB | HyperSQL |
MySQL | Json |
*preferred
/bending export [file]
- asynchronously gather all stored data and export them to a compressed json file
/bending import <file>
- asynchronously import the specified file and merge all data to the currently used storage engine
Any online users will have their profiles (bound slots, board, elements and presets) automatically refreshed from the newly imported data
- Create an export using
/bending export [file]
and wait for it to complete - Stop the server completely
- Edit bending.conf and change to a different storage engine
- Start the server again
- Import the data you previously exported using
/bending import <file>
If you are running multiple server instances with Bending under a network/proxy sharing data between them is easy.
Choose a remote database type and fill in your connection info in the storage
section of bending.conf
.
You should also consider enabling lazy-load
in the properties
section of bending.conf
to ensure data integrity.