How to recover the Deleted Analysis

Hi Experts,

I have deleted my analysis in 1 year back & I need to recover that analysis & I dont have any details except Analysis Name of that Analysis.
Kindly help me to recover that analysis.
Thanks

Hi @ArnaJi88 ,

after you click on delete your analysis will be marked for deletion and deleted after a default retention time of 30 days.

If you have not created an export before that, you must recreate the analysis manually.
Unfortunately, I am afraid that there is no other way.

Best regards,
Nico

Hi @Nico
Thank you for quick response, Let me recreate the analysis
Thanks

@Nico

Can anyone ( who has Author Role Permission ) restore the analysis if analysis is deleted before the default retention time of 30 days.
Kindly inform me
Thanks

Hi,

Yes, we can restore the deleted analysis using analysis restore API. This is the guid to restore the delete analysis.

Regards,
Naveed Ali

Hi @Naveed
Can anyone (who has Author role permission) can also retrieve the analysis ?
please confirm me
Thanks

Hi,

Yes, He can.

Regards
Naveed Ali

Source : Jess Wang [AWS] - Post link

QuickSight Team

An Analysis when deleted would be marked for deletion and be available to list via API/CLI (until the retention period. Default retention period is 30 days, unless an explicit value is provided via API/CLI).
For example, I deleted an analysis, but when listing all analyses in my account, I can still see the deleted analysis with status as ‘DELETED’. So I can use this API to find the analysis ID.

        "Status": "CREATION_SUCCESSFUL",
        "CreatedTime": "2021-10-19T19:01:24.843000-04:00",
        "LastUpdatedTime": "2021-10-19T19:13:15.970000-04:00"
    },
    {
        "Arn": "arn:aws:quicksight:us-east-1:123456789012:analysis/pole78d1-jjtt-4efe-yyoo-93ccb9127c39",
        "AnalysisId": " pole78d1-jjtt-4efe-yyoo-93ccb9127c39",
        "Name": "analysis - test",
        "Status": "DELETED",
        "CreatedTime": "2020-10-08T11:45:12.259000-04:00",
        "LastUpdatedTime": "2022-02-04T03:31:46.643000-05:00"
    },

I could successfully restore this analysis using the restore API, and the status if the analysis changed to ‘UPDATE_SUCCESSFULL’.

Please list the analyses in your AWS Account and check if the deleted analysis name, ID shows up. You can then use the analysis ID to restore the analysis.

list analysis - ListAnalyses - Amazon QuickSight
restore analysis - RestoreAnalysis - Amazon QuickSight

Did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the QuickSight Community!