General system administration on Digital Ocean droplet?

Well, not quite.

That depends on the scope of the bug. If it’s host-level, and the attackers don’t bother trying to steal your database, then all you need to do is nuke the droplet and start over with the backup, yes.

In the worst-case scenario, the attackers somehow manage to install a persistent backdoor into the database (I honestly don’t know how that would work, but let’s pretend it’s possible) and deleted all the on-server backups, which would make you have to … fall back to one you downloaded before. You’d also be dealing with the fact that they obtained passwords (PBKDF2 with salt) for the users who have passwords and will likely work on cracking those.

They could try mining the drafts and private messages for PII.

In other words, based on what you just said? Worst-case is that you tell people password hashes were stolen, which is heavily mitigated by users who (guess what?) don’t have Discourse passwords.