You can directly restore your database over an existing database (you do not need to create another server or database)
The pg_restore command will overwrite data in your database. Make sure you have a backup before running this command.
pg_restore -U [username] -h [hostname] -d [dbname] -1 [backup_file]
But as a note:
if you restore the database you overrode the database this means that you lose all the difference between the backup and your existing DB
If your plugin licenses information also exists in the backup there will be no problem