Migration on Other Server
Learn how to migrate MineStoreCMS on another server with saving data.
This is very complicated and risky process, so we recommend to purchase installation service from our official website and our team will manage everything fast and without any risks for you.
Migration on Other Server
- Backup Database: First, you need to backup your database from the old server. You need to export the database by using MySQL Client or PHPMyAdmin or by running the following command in the terminal:
- Backup Files: You need to backup the files from the old server. We recommend to make a full backup of the
/var/www/minestore
directory by running the following command in the terminal:
-
Install MineStoreCMS: You need to install MineStoreCMS on the new server. You can follow the steps below to install MineStoreCMS on your new server:
-
After installing MineStoreCMS on the new server, you need to remove all data from the newly created database and import the database from the old server.
-
Upload the files from the old server to the new server. We do not recommend to upload all files, only upload recommended files and files that you have modified. List of recommended directories to upload:
/var/www/minestore/frontend
/var/www/minestore/public
/var/www/minestore/config
-
We also recommend to upload the
.env
file from the old server to the new server. You can upload the.env
file by using the File Manager in the Admin Panel, but make sure to update the database credentials in the.env
file. -
After uploading the files and
.env
file, you need to run the following commands in the terminal to apply changes:
- Wait for a few minutes to apply changes and check the webstore on the new server. If everything is working fine, then you have successfully migrated MineStoreCMS to the new server.
- Purge Cloudflare cache if you are using Cloudflare CDN.
- Done! Your MineStoreCMS instance is now migrated to the new server with all data saved.