mad2kx
mad2kx

Reputation: 41

How to Move Apostrophe CMS to another server

I cannot find anything properly documented on how to move Apostrophe CMS from one Server to another Server.

Any Step by Step guides?

Upvotes: 1

Views: 189

Answers (1)

alexbea
alexbea

Reputation: 1370

There is not a specific guide for this as far as I'm aware. Assuming your new server is set up correctly, the steps would basically be:

  1. Export the MongoDB database from the old server using the mongodump CLI command, mongoexport, or some other way (e.g., a GUI)
  2. Import the database dump into the new server with the same db name (likely mongoimport)
  3. Deploy your project code to the new server
  4. rsync or otherwise transfer the media uploads in public/uploads/attachments

Then you get the new server online and you should be pretty much good to go. There will be many steps in between for process monitoring and whatnot, but those are basic steps. Move the database, deploy the project code, and transfer the media. For deployment and server config the recommended tools are stagecoach and mechanic

Upvotes: 2

Related Questions