VeeamHub / vbo365-rest-self-service

Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
MIT License
22 stars 8 forks source link

Portal does not list all folders from sharepoint site available for restore. #34

Closed jba007-dk closed 3 years ago

jba007-dk commented 3 years ago

Describe the bug The problem occurs when a client has too many folders on their sharepoint site for the portal to list them. In the veeam explorer there is an option available to "show full results" when listing folders from a sharepoint site, this option is not present in the self-service portal, and folders are not avaible to be selected for restore.

To Reproduce Steps to reproduce the behavior:

The problem can only be reproduced when the account in question has alot of folders listed

  1. Log in to with a user

  2. Click sharepoint and start a restore session

  3. Browse to the location with alot of folders veeam_explorer

  4. Not all folders are listed, because the view is limited by default in Veeam. In the Veeam explorer for Sharepoint, there is an option to "load more results", this option is absent in the self-restore portal, and the search functionality cannot find the folders/files when they are not listed, so there are currently no option available to restore the missing folders.

Expected behavior There should be an option to "load more / full list of folders"

Desktop (please complete the following information):

nielsengelen commented 3 years ago

There is a load more button at the end of the page.

jba007-dk commented 3 years ago

Also when it comes to the "folder browser"? I cannot find any load more button? folder_list

nielsengelen commented 3 years ago

It will load 250 folders by default for anything (u can configure this in the config.php file), only if there are more than 250 items, the button comes available.

jba007-dk commented 3 years ago

Thank you, updated the config file with 1000 folders instead and restarted the site. For some reason there are not more folders listed.

nielsengelen commented 3 years ago

If there are no more folders listed, it means there are no more available according to the API call. I do notice that u have some files in there which aren't folder so it could be something else is wrong with the SharePoint site. Are those "Completed" folder/items actually folders?

jba007-dk commented 3 years ago

I have compared the view with the Veeam explorer for sharepoint. There it can list 1096 folders which is the amount the site has. The "Completed" folders does not exists on the sharepoint site. They not listed in the Veeam restore for sharepoint either.

Regards, Johan

nielsengelen commented 3 years ago

Any chance u can send me a copy of the REST API logs via mail (niels dot engelen at veeam dot com)? You can find them under %programdata%\veeam\Backup365\Logs. This way I can see if there are errors in the log and try to figure out what is causing this difference.

jba007-dk commented 3 years ago

Great - thanks alot - I really appreciate that.

I have send you a mail with the information requested.