I intend to keep the same domain with the same content, but i’m trying to move the site to another server. Is there any way to do this without losing data?
I’m checking the official docs, but only show the Ghost to Ghost(Pro) migration.
It depends on how you are running Ghost. Docker, OS install or whatever.
But the general steps are the same:
Create a MySQL dump from the database.
Then you have to copy everything in the content folder (that is where ghost stores images and various other things) and the database dump to the new server.
Import the database dump into your new database, move the content folder to the right location.
Switch DNS to the new server and you are good to go.
If you are running docker you can take some inspiration from my set-up which I recently blogged about: