Another self-service, once you have captured an encryption virus, or accidentally deleted one or more files or even entire folders. It has been around for OneDrive for Business for a while, and this service is currently rolled out on all tenants in Office 365. The procedure is the same everywhere.
Then click on the gear icon. Now you see all the settings and there is also the item “Restore this library”". (If it does not show up yet, it’s not currently available in your tenant).
Click on Restore…
brings us the image of time restriction and selection known from OneDrive for Business.
The procedure is, as I said, not only for all document libraries, but also for the documents that you have stored in OneDrive for Business.