I forgot my password to access the portal http: localhost: 8200

Stop Duplicati and start it with this command line option:

--webservice-password=

It will clear the password from the database from my limited testing. Remove that command line option after it’s been cleared so that you can set a new password if desired.