Restoring an M365 SharePoint site to a custom cloud location fails in Comet Backup: No files were restored

Symptoms

  • A restore job created with Restore > Microsoft Office 365 > Restore to custom Microsoft Office 365 cloud location, for a Protected Item that includes a SharePoint site, completes with a Status of Error.
  • The Job Log Report shows the following line even though a custom cloud location was selected as the restore destination:

    CONFIG_TEXT: Restoring <Snapshot> to original cloud location(s)

  • The Job Log Report ends with:

    CONFIG_TEXT: Restored 0 directories, 0 files in 0:00
    No files were restored!
    The restore engine encountered a problem: exit status 1

  • The underlying Microsoft Graph response shows an HTTP status code of 403.

Cause

When a Microsoft 365 Protected Item includes a SharePoint site, the backup also captures the site's hidden system and gallery libraries (for example the Web Part Gallery under _catalogs). When restoring to a custom Microsoft 365 cloud location, Comet Backup does not skip these hidden libraries, so it tries to create a folder inside one of them; Microsoft Graph refuses this with an HTTP 403 accessDenied response, and the whole job ends with no files restored. This is a bug with ID COMET-60482.

Resolution

Solution 1
  1. Start a new restore for the affected Protected Item.
  2. Choose Restore > Files and Folders > Destination path instead of Restore > Microsoft Office 365 > Restore to custom Microsoft Office 365 cloud location.
  3. Select the destination path and complete the restore.
Solution 2
  1. Start a new restore for the affected Protected Item using Restore > Microsoft Office 365 > Restore to custom Microsoft Office 365 cloud location.
  2. In the item selection screen, deselect the SharePoint site's hidden system/gallery libraries (such as the Web Part Gallery) and select only the real document libraries.
  3. Complete the restore.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.