Open the OneDrive desktop app. Navigate to Settings ->Sync and backup ->Manage backup. Toggle on all desired folders. Once ...
I haven't looked at the shadow copies feature of OneDrive to see how it would work. If you computer gets infected with Ransomware, so does your OneDrive so I would look into exactly how it would ...