Yes, but it definitely can and will corrupt SQL backup files, and also in many cases the SQL server EXE's making a restoration that much more difficult. Our own hosting provider, WiredTree where we have about 10 sites, got hit from the other end. Our web pages got payloads injected into them (meaning people surfing would get messages about their software being out of date) and for the few accepting the message, they got ransomware. Turns out the provider really only makes a monthly full backup.
Our Eversafe system is perfect for handling this for us and our clients due to it's hourly full snapshots and failover and instant Ransomware alerts and notification, but most of us, including us, have no control or real deep knowledge how the cloud and linux based hosting providers handle backup & disaster recovery. People think because they have a 'cloud' solution, somehow magically viruses, disasters and ransomware problems go away.