<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="http://postgis.net/workshops/postgis-intro/loading_data.html" target="_blank">5. Loading spatial data — Introduction to PostGIS</a><br></div><div dir="ltr"><a href="http://postgis.net/workshops/postgis-intro/index.html" target="_blank">Introduction to PostGIS — Introduction to PostGIS</a> (data bundle)<br></div><div dir="ltr"><br></div><div>I use the follow command to restore a database.</div><div><br></div><div dir="ltr"><b>pg_restore -h localhost -p 5432 -U jian -d postgis_in_action nyc_data.backup</b></div><div dir="ltr"><br></div><div>I cannot load the backup file to database.</div><div>Too many errors like :</div><div><br></div><div> ERROR:  type "public.geometry" does not exist</div><div> ERROR:  relation "public.nyc_census_blocks" does not exist<br></div><div><br>There is only another .sql file. But the file only have one table:<font color="#000000"> <span style="font-family:"JetBrains Mono",monospace;font-size:9.8pt;background-color:rgb(255,255,255)"><b>nyc_census_sociodata</b></span></font><br></div><div><font color="#000000"><span style="font-family:"JetBrains Mono",monospace;font-size:9.8pt;background-color:rgb(255,255,255)"><b><br></b></span></font></div><div><font color="#000000"><span style="font-family:"JetBrains Mono",monospace;font-size:9.8pt;background-color:rgb(255,255,255)">where can I get the table create script. </span></font></div><div><br></div></div></div></div></div></div></div>