Data backup is the best way to protect yourself against Ransomware. If you have a clean backup of your data when ransomware strikes, and are able to prevent ransomware from reaching the backup and encrypting it too, you have a safe and easy way to recover without paying the ransom.
Follow these best practices to protect your backups:
1) Maintain an offline backup
2) Use immutable storage
3) Use endpoint protection on backup servers
4) Increase frequency of backups