modified: doc/Migrate.md

This commit is contained in:
Andy 2020-11-25 23:59:06 +07:00
parent e6a340b965
commit 97a88e1944

View File

@ -1,4 +1,4 @@
Migrating to a different Server
Migrating to a new server
===============
* [Home](help)
@ -28,6 +28,22 @@ This process may take a long time depending on the size of your storage.
[Removing expired items]
To review the size of your database, log into MySQL with ``mysql -p`` run the following query:
``SELECT table_schema AS "Database", SUM(data_length + index_length) / 1024 / 1024 / 1024 AS "Size (GB)" FROM information_schema.TABLES GROUP BY table_schema;``
You should see an out like this:
````
+--------------------+----------------+
| Database | Size (GB) |
+--------------------+----------------+
| friendica | 8.054092407227 |
| [..........] | [...........] |
+--------------------+----------------+
````
### Configuration files