Can ransomware affect backups?

Yes. Ransomware can sometimes affect connected backup devices or cloud storage. Keeping at least one backup offline or securely separated can help reduce this risk.