Adoxio.Dynamics.DevOps
Adoxio.Dynamics.DevOps copied to clipboard
Add Export-CrmData function
Added reference to Microsoft.Xrm.DevOps.Data.PowerShell module and created Export-CrmData function to use Microsoft.Xrm.DevOps.Data.PowerShell to export data from the target database and export it as a zip file. Zip file is compatible with existing function to Expand and Compress data.
Hi @ScottColson,
This should be useful! Please update the sample files to incorporate this functionality, as they are very important to using this module. This includes the Full.ps1 export settings file and the Export.ps1 script that the export is initiated from.
I will review again afterwards and provide any further relevant feedback.
Thanks,
Alan
PR is updated to use Microsoft.Xrm.Tooling.ConfigurationMigration PowerShell module. Updated Advanced example to show usage.
@ScottColson it seems your branch was not based on the latest version of code from the master branch. Please resolve the merge conflicts, then I will be able to start some testing.
Sigh... Apparently I need to do this more often. Fixed. I opted not to update the docs since it looks like you might be doing that automatically from code comments.
I had forgot about the docs. I believe I used this script as a starting point to generate the markdown file. If you could make the doc that would be helpful.
I updated readme.md and added docs\functions\Export-CrmData.md.
Checking in to verify i'm not blocking you on this. Let me know if you need anything else from me.
@amervitz Checking in to verify that I'm not blocking you on this. Let me know if you need anything else from me.
@ScottColson I need to find the time to test this. Have you tested data export in the Export.ps1 script that performs all the export actions?
@amervitz I've not tested the full export.ps1 script. I have tested the data export function in a personal project that is similar to the sample export.