After migrating a site to Cloud I'd like to generate a SQLce database in the project with all the new Cloud users. Is there a way to do that? I can't find it in the documentation.
So what I did was delete everything in my .web folder and remove it from sourcetree. Then I cloned the project from cloud and still the connectionstring to the old server was there and no database was created.
After contacting support I found the way. So for future reference:
I needed to look up the original database connectionstring in the .web repository (Cloud repository) and put that in the web.config instead of the connectionstring to my old database.
Next go to the /data folder and rename deploy-complete to deploy.
Run the site and it restores the database to SQLce in the project.
Switch from SQL to SQLce
After migrating a site to Cloud I'd like to generate a SQLce database in the project with all the new Cloud users. Is there a way to do that? I can't find it in the documentation.
So long as they were created with the "Add Member" functionality in Umbraco Cloud, users should exist as files in
~/data/backoffice/users/
.When you pull, the database should be created for you, including the users.
I sometimes run into issues, in which case I run
echo > deploy
from the command prompt in the data folder, as explained here: https://our.umbraco.com/documentation/Umbraco-Cloud/Deployment/Local-to-Cloud/So what I did was delete everything in my .web folder and remove it from sourcetree. Then I cloned the project from cloud and still the connectionstring to the old server was there and no database was created.
Am I missing something here?
After contacting support I found the way. So for future reference:
I needed to look up the original database connectionstring in the .web repository (Cloud repository) and put that in the web.config instead of the connectionstring to my old database.
Next go to the /data folder and rename deploy-complete to deploy.
Run the site and it restores the database to SQLce in the project.
Job done!
is working on a reply...