I had some difficulties cloning a cloud project to my local environment. According to the documentation it was pretty much only about build and then run. But already during run it ran into errors while there wasn’t any ClientId, or as I later found out, a Identity object in umbraco-cloud.json.
And later on, because there were no users in the local cloned version, I couldn’t login. Actually, I still haven’t solved that yet.
But my general question is:
Would there be a better tutorial on how to set this up, without running in to all this hassle. I guess there is a more convenient way.
When I have issues cloning from Umbraco Cloud, I will pull down a local copy of the database and media from the production environment. You can do this by creating a backup of the database and download the .bacpac, which you can restore locally. Just make sure you change the connection string accordingly.
For the media, you can connect to the Blob container using Azure Storage Explorer, the SAS URL connection string is in your Umbraco Cloud project dashboard.
I get errors when I try to restore the downloaded .bacpac file on my local SQL Server 2022.
The downloaded .bacpac file is only a size of 103 KB. Do I miss something here? Seems to be something wrong here.