I tried to restore database into new bench site and i got error but i have no idea why this is happened.
I’m using postgres as my database by running this command
bench new-site {my-site} --db-type postgres
and restore the database using this command
bench --site {my-site} restore {path/to/database/file}