Backing up your data to a safe computer is always a good idea; prevention is also good: keeping your systems healthy and common vulnerabilities-free, and educating employees not to "open suspicious emails and click suspicious links".
The city's interim IT director says many systems are back up and running, including email, the city website, finance systems, pump station management and others.
Homeland Security warns hackers can take over heart devices. In 2018, the massive "SamSam" virus disrupted the flight information system, baggage displays and email at Cleveland Hopkins International Airport, while another attack crippled computers at the Port of San Diego.
Targeted ransomware attacks on local US government entities - cities, police stations and schools - are on the rise, costing millions as some pay off the perpetrators in an effort to untangle themselves and restore vital systems. And hackers have taken the information systems of dozens of USA hospitals hostage.
Liska said the extent of the ransomware attack likely left the city facing steep expenses and a pressure to satisfy the hackers' demands in order to get government services working again. The attack quickly spread to the rest of Riviera Beach's IT systems, taking them all offline.
The FBI generally advises organizations that are victims of ransomware to avoid paying ransoms because it may encourage other attacks - and sometimes attackers don't come through on their promise to provide a decryption key.
As recently as June 12, local media reported that 30% of city employees still had no email access and many services would not return to full functionality for months.
The price of that attack is an estimated $18.2 million. The hackers demanded that the ransom payment had to be made as 65 bitcoin, a hard to trace cryptocurrency, for the release of the city's data.
The council has also agreed to spend more than $1 million on new computers and security. Even with the plans to pay the ransom, the city said, an investigation is underway.