Using cli or sdk to create backup copies of artifacts

how can we use the cli or sdk to create a backup copy of quicksight artifacts (analysis, datasets, datasources, dashboards)…just in case any of our users mistakenly deletes an artifact?

We have a python process that’s currently backing up objects. It’s easier to do with boto3 and the API rather than CLI, but it’s a workable solution

OverSight for Amazon QuickSight is a SaaS-based solution that you can use to group together QS objects into “Applications” and create versioned “Releases” to store backups of your work. Releases can be easily deployed to other AWS Accounts that you manage within OverSight. This is all done from a easy-to-use web application … no need for CLI or APIs.

3 Likes

I would probably look at the describe commands and dump them somewhere (s3).

https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-analysis.html

https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-dashboard-definition.html

https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-analysis-definition.html

https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-data-set.html

1 Like

Hi @jbuford04

Thanks for the reply! I tried using the new describe commands in python and keep getting this message. I am operating is us-east-1

any thoughts?

many thanks :slight_smile:

“errorMessage”: “‘QuickSight’ object has no attribute ‘describe_dashboard_definition’”,
“errorType”: “AttributeError”,

Thanks for the reply! I tried using the new describe commands in python and keep getting this message. I am operating is us-east-1

any thoughts?

many thanks :slight_smile:

“errorMessage”: “‘QuickSight’ object has no attribute ‘describe_dashboard_definition’”,
“errorType”: “AttributeError”,

what is the code your are calling the describe_dashboard_definition?

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/describe_dashboard_definition.html

1 Like