Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark 91 posts -18 karma points
    Apr 04, 2018 @ 08:52
    Mark
    0

    Umbraco.io auto database generation

    I have a local Umbraco.io instance that was initially created using a local SDF file. I now want to point that to a remote db but can't find a way to force the local instance to use the new connection string.

    How do I force a local Umbraco.io cloud build to use remote db?

    Thanks Mark

  • Søren Gregersen 436 posts 1875 karma points MVP 2x c-trib
    Apr 04, 2018 @ 09:01
    Søren Gregersen
    0

    You should be able to just change the connectionstring in web.config, but I'm not sure you will get all the content moved to your other environments.

    I would suggest you have a chat with the support in umbraco cloud on this.

  • Mark 91 posts -18 karma points
    Apr 04, 2018 @ 14:20
    Mark
    0

    When you start the project locally the Deploy plugin steps in and creates the local db and uses that:

    Umbraco.Deploy.Cloud.LocalInitializer - Run :: initializing

    Umbraco.Deploy.Cloud.LocalInitializer - Run :: Is not running remote, Is not using Sql Azure.

    Umbraco.Deploy.Cloud.LocalInitializer - Run :: web.config configured with a SqlServer/LocalDb database.

    Even if you have a remote DB in the web.config!

Please Sign in or register to post replies

Write your reply to:

Draft