alternative to downloaded the backup with uploads for non-IDM enabled instances

Hello All,

Could anyone please help with downloading a backup for non-IDM enabled instances, please?

When we go to Admin > Sugar Cloud Insights it throws error "Forbidden Request" and it become difficult to ask sugar support for daily backups.

We requested the Sugar support to share the backup  with uploads on daily basis, Sugar support suggested to enable the IDM  for all instances. or use Firefox Version 109.0.1

We don't wants to enable IDM as of now and we are not allowed to use Firefox Version 109.0.1, but wants to daily backups, please suggest.

As I checked on SugarCRM documentation, there is option to downloading the backup using rest api ("https://support.sugarcrm.com/Knowledge_Base/Platform_Management/Downloading_Backups_From_the_Backups_Module/#Downloading_via_REST_API") , I tried the steps mentioned using Postman there but throws error as
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>"

Kindest Regards,

Shreya

Parents
  • Hi Shreya,

    Could you please share some screenshots (without sensitive data) or the curl code (without sensitive data) used in Postman? 

    I just tried with a test instance and didn't get that error.

    Best,

    Francesc

  • Hi Francesc,

    To download the backup files via the REST API, we must have the following information:

    • Sugar instance's URL (e.g., mysugarinstance.sugarondemand.com).
    • Sugar  instance SugarCloud Insights URL, which can be found in the browser's address bar when accessing SugarCloud Insights.

    But as I am getting forbidden request when I access sugar cloud insights then how to get SugarCloud Insights URL?

    Kindest Regards,

    Shreya

  • Hi Shreya,

    The workaround proposed by  is a good approach to be able to see the Sugar Insights while a fix for issue #91054 is released.

    However, if you still want to get the backups via API let me know and we can try to sort that out.

    Best,

    Francesc

  • HI Francesc,

    Solution suggested by Jerry works for me, still I am curious about downloading backup using API.

    I will be happy if you help me.

    Kindest Regards,

    Shreya 

  • Hi Shreya,

    from what I saw in your screenshot, you are missing two parameters in your headers when calling the backups endpoint. This is how it looks like for me:

    The X-Sugar-FQDN parameter is the URL of your instance.

    As per the Sugar Insights URL, since you don't have IDM enabled, it should be

    sugarcloud-insights.service.sugarcrm.com

    Please, let me know if you managed to get your error solved with this.

    Best,

    Francesc

Reply
  • Hi Shreya,

    from what I saw in your screenshot, you are missing two parameters in your headers when calling the backups endpoint. This is how it looks like for me:

    The X-Sugar-FQDN parameter is the URL of your instance.

    As per the Sugar Insights URL, since you don't have IDM enabled, it should be

    sugarcloud-insights.service.sugarcrm.com

    Please, let me know if you managed to get your error solved with this.

    Best,

    Francesc

Children
No Data