Migrate from shared hosting to self-hosted with all fields, data and layout

I have installed suitecrm on hostinger shared hosting and i have multiple custom fields and around 200 leads data and some projects. I am now shifting to self hosted because, suitecrm is slow on shared hosting. How can i export all the data including field layout and custom fields i created? Also, I am using docker in self-hosted.

Hello Shubham,

not sure what hostinger can or cannot do - but overall it’s easy:

  1. Get a DB dump and the code
  2. Upload everything into the new environment
  3. Import the DB into the new DB
  4. Change the DB credentials in .env.local and DB + hostname in /public/legacy/config.php
  5. Check whether everything is working

Don’t forget the correct permissions, clearing the cache etc.

There might be other issues, which you might be able to uncover checking the log files in /logs/prod/ and /public/legacy/suitecrm.log - depending on your version.

Check out the upgrade / migration guide as well for further details if required:
https://docs.suitecrm.com/blog/larger-upgrades/

1 Like

Hi Shubham
I can definitely help you with the migration from shared hosting to Docker. Here’s what we need to do:

  1. Export your full database and SuiteCRM files from Hostinger.
  2. Set up a Docker environment for SuiteCRM.
  3. Import the old database and move your SuiteCRM files to the new host.
  4. Update config.php and permissions.
  5. Run Quick Repair and Rebuild to sync custom fields and layouts.
1 Like

I only have like 5 to 6 accounts and single user and around 150 leads. So is it more better for me to just export the csv, make the custom field in new installation, copy the layout a adjust import via csv. I guess this is a less headache migration step for me as there is not much data.

@dg10
That’s a smart move considering your data size.

If you’re comfortable setting up the custom fields and layout again, the CSV export/import method will definitely save you some headaches.

Just a few quick tips:

  • Set up all your custom fields first in the new system
  • Make sure the field names and types match what you had
  • Use the Import Wizard to map everything cleanly