Copied to clipboard

Flag this post as spam?

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


  • Thomas Enggaard Christensen 24 posts 49 karma points
    Dec 16, 2022 @ 13:17
    Thomas Enggaard Christensen
    0

    Custom folder for indexes etc.

    Hi.

    I am looking for ideas or advice on how to change the folder for umbracos indexes etc. Properly the whole App_Data folder.

    I am working on a project where several clients have the same codebase deployed to their own environment (and databases).

    The problem I am trying to fix, is that when we need to connect our development environment to a client (dev) database it takes forever to boot up Umbraco because it needs to initializa new indexes.

    My idea was to dynamically spicify a seperate App_Data folder. For instance it could be dynamically set to a part of DB name in the connection string.

    Something like:

    ~/App_Data/clientenvironment/...

    ( "..." being the normal folder structure in the App_Data folder)

    Any ideas on how to do this, or if it even possible?

    Thank you

Please Sign in or register to post replies

Write your reply to:

Draft