DEV Community

Discussion on: A cron job that could save you from a ransomware attack

Collapse
 
rogarv profile image
rogarv

Even better for gaurding against ransomware, a differential backup.
Run an rdiff-backup in your cron and get daily/hourly snapshots so you can recover to a point in time before the encryption.
Simly backing up (even using rsync) will backup the encrypted files over the good ones... no use at all.