With some advanced preparation, you can survive a ransomware attack