Anonmyize all users on a discourse instance?

Hello, I have a discourse instance I am working on archiving.

I am using HTTRACK as recommend here

However, there is something not considered in the archive posts, if there is a user, under the GDPR they have the right to request their account to get deleted/anonymized, which is going to be difficult with a static site.

So instead of dealing of this, is there a way to anonymize the whole instance? Maybe except the admin and some other users.

In general, it would be great if Discourse would develop an included archival tool, to do all of this automatically(build static site, anonymize users, etc.)

1 Like

There is a rake task that fits your needs

cd /var/discourse
./launcher enter app
rake users:anonymize_all
4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.