I have set of dashboards to migrate from one data source to another within AmazonBI Account. I can create datasets in my data sources. But migrating the analyses requires API call, How can I programmatically migrate the analyses from one DS to another?
Hi @bhanmegh ,
Welcome to the community!!
You can create a copy of your analysis and then replace the existing dataset with the new dataset that you have created from the new data source. Considering these are within the same account, you will not need to migrate but repoint the data source.
This will also help map the fields and rule out any possible mismatch.
Please let me know if you wanted to migrate your dashboard to other account specifically. Then this solution will not fit in.
Thanks,
Prantika
Thank you Prantika. I have multiple dashboards, Is there any programmatic way to make a copy of all the analyses ??
I don’t think there is a programmatic way to copy an analysis, but to leverage asset bundle command set.
There is a set of commands, start-asset-bundle-export-job and start-asset-bundle-import-job. It may make your task easy if you figure out on overriding the datasource id / dataset id while importing the assets. Please be mindful to change the analysis id while you are importing to same account to avoid overwriting.
Here are the documentation pages for you to explore :
Hi @bhanmegh,
Just checking back in since we haven’t heard from you in a bit. I wanted to see if the guidance shared earlier helped resolve your question, or if you found a solution in the meantime.
If you still have any additional questions related to your initial post, feel free to share them. Otherwise, any update you’re able to provide within the next 3 business days would be helpful for the community.
Thank you