This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commands: convert
SlimeDog edited this page Apr 11, 2022
·
4 revisions
/phd convert <sourceStorageType> <targetStorageType>
The convert copies data between storage types. SQLITE and YAML storage types are supported.
The database file for the sourceStorageType must exist.
- sourceStorageType
- targetStorageType
Tab-completion is available for all parameters.
Success or failure
Recommendation: Back up the data, and test the procedure in a non-production environment, before executing it on a production server.
- Execute the command.
- Verify that the newly-created target data are consistent with the source data.
- Use sqlite3 (or equivalent) to view SQLITE data.
- Use a text file reader to view YAML data.
- Edit plugins/pHD/config.yml to reflect the new data storage type.
- Execute phd reload to use the newly-created target data.
/phd convert SQLITE YAML
Started converting from SQLITE to YAML
Done converting from SQLITE to YAML
/phd convert YAML SQLITE
Started converting from YAML to SQLITE
Done converting from YAML to SQLITE
Messages may be localized. See Localization.
🛑 End Of Life
▪ Overview
▪ Version Support 🚩
▪ How It Works
▪ Installation
▪ Configuration
▪ Localization
▫ Formatting Codes
▪ Commands & Perms
▫ list
▫ info
▫ report
▫ manage
▫ set
▫ unset
▫ unmanage
▫ reload
▫ convert
▪ Sample Use Cases
▪ Support
▪ FAQ
▪ Technical Details
▪ Futures