Skip to content

Commit 6155d4e

Browse files
committed
Update database-migration.md
1 parent 252de2f commit 6155d4e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/database-migration.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ The `/co migrate-db` command allows you to seamlessly transfer all your CoreProt
3232

3333
**Before starting the migration:**
3434

35-
1. **Ensure your server is running** with your current CoreProtect database
36-
2. **Configure your new database** in `config.yml`:
37-
* For MySQL migration: Set up your new MySQL connection details
38-
* Ensure `use-mysql` is updated correctly in your `config.yml`
35+
1. Ensure your server is running with your current CoreProtect database
36+
2. Configure your new database in `config.yml` (ensure `use-mysql` is updated correctly)
3937
3. **Important:** Do NOT restart your server or use `/co reload` after modifying the config
4038

4139
### Step 2: Execute Migration
@@ -92,21 +90,25 @@ The `/co migrate-db` command allows you to seamlessly transfer all your CoreProt
9290
### Common Issues
9391

9492
**Migration won't start:**
93+
9594
* Verify you're using a CoreProtect 23.0+ Patreon build
9695
* Ensure you're not trying to migrate to the same database type
9796
* Check that no other CoreProtect operations are running
9897

9998
**Migration interrupted:**
99+
100100
* Manually delete/wipe the target database
101101
* Verify server stability before restarting migration
102102
* Consider migrating during low-activity periods
103103

104104
**Performance issues:**
105+
105106
* Monitor server resources during migration
106107
* Consider temporarily reducing server activity
107108
* Large tables may cause temporary slowdowns
108109

109110
**Data verification failures:**
111+
110112
* Check database connectivity and permissions
111113
* Review server logs for specific error messages
112114
* Ensure sufficient disk space on target database
@@ -133,6 +135,7 @@ The migration process includes several advanced features:
133135
* Graceful error handling with detailed logging
134136

135137
The migration handles all CoreProtect data types including:
138+
136139
* Block changes and rollbacks
137140
* Container transactions
138141
* Player interactions and sessions

0 commit comments

Comments
 (0)