Migrate Nextcloud totp app to new server


I’m about to migrate my Nextcloud to a new server (traditional installation to container). All users and data are working fine, but since totp is not stored in the sql database, all users’ totp information are reset.

I would like to avoid my users doing a new f2a setup. Is there any way to migrate the totp app from one installation to another? Just copying those folders to the new server and fixing permissions doesn’t seem to be enough: