How migrate to a new server?
On the old server
(We consider that you have the latest version of the script)
- Backup your database (from the Admin panel → Backups)
- Backup all your website files (from the Admin panel → Backups)
On the new server
- Make sure you have all the components required on the new server, etc.
- Unzip the backup file and upload the website files except the
/public/storagesymbolic link file on your new server.
NOTE: You have to make sure that all hidden files (the/.envand the.htaccessfiles) are uploaded to the new server. - Don't make a fresh install
- Create a database for your new server
- Import the backup database (using phpMyAdmin)
- Open the
/.envfile in a text editor and edit it as you needed (EditAPP_URLif your domain has changed. EditDB_*vars if your database settings have changed).
You are done.