-
First of all, I would like to thank the project founders and the community for their efforts in maintaining a sensational project like this one, which my team at the company where I work use every day and which we hope to contribute with some new features in the future. next. We recently implemented a pipeline on our Build machine to export the Production data overnight and in this way import bacpac to a local SQL Server and generate a backup with *.Bak extension, all steps were successful, however using a Soccer metaphor "we are hitting the post with the ball" when uploading the final file (.bak) to the LCS asset library. In an old version of the documentation we find the comand:
however this command is no longer supported in current versions of D365FO.Tools, which is a shame, however there is a reason or limitation for this. Is there an alternative way for us to meet our goal of uploading the Backup to the LCS using the tool? If not, what would these limitations be? Thanks in advance for any help or support from the community. I apologize if my question is not very clear or my translation is not understandable. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Maybe a misunderstanding, but as far as I can see, the cmdlet is still available. Check Invoke-D365LcsUpload.md for the documentation and Invoke-D365LcsUpload.ps1 for the cmdlet itself. That said, for an upload in a pipeline (assuming Azure DevOps pipeline), you may want to consider the Upload assets pipeline task instead, which is part of the Dynamics 365 Finance and Operations Tools extension for Azure DevOps. Btw, your question reads very clear 👍 |
Beta Was this translation helpful? Give feedback.
-
Thanks @FH-Inway for the answer. After the end of the process, we tried to proceed with the creation of a release pipeline using the file upload task (as we do with our deployable packages), however the file upload task does not offer the option of Database Backups, no were it for this limitation this would be a great way to achieve the goal. |
Beta Was this translation helpful? Give feedback.
-
Thanks for taking the time to post the question 👍 The issue is that Microsoft very clearly doesn't want us to upload bak file by automation directly into LCS. The reasons why are a bit unclear, but I believe it might be that some customers / partners used LCS as a backup location for bak files - which isn't what Microsoft intended to offer. So that is why the removed the support for bak file upload, and why you can see that we supported it in an earlier version of the module. With that said - why is it important for you to have the bak file uploaded to LCS? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer @Splaxi . The final objective would be to create a routine that developers could run on their machines and update their local databases, which would generate some time savings in relation to this restore routine. But I understand that Microsoft may have some restrictions on how customers are using this feature. Eventually I believe that using a storage account to store backups can be a way out. |
Beta Was this translation helpful? Give feedback.
-
HI All, is there a solution for above problem now? I am facing same issue. Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Thanks for taking the time to post the question 👍
The issue is that Microsoft very clearly doesn't want us to upload bak file by automation directly into LCS. The reasons why are a bit unclear, but I believe it might be that some customers / partners used LCS as a backup location for bak files - which isn't what Microsoft intended to offer. So that is why the removed the support for bak file upload, and why you can see that we supported it in an earlier version of the module.
With that said - why is it important for you to have the bak file uploaded to LCS?