<div dir="ltr">Here's the thing, all I have is a dump (postgres_dump_03172014.gz) using pg_dumpall. The server has been reformatted with a clean install of Debian. I haven't even installed Postgres yet. So, what are my options then? I really would hate to start from scratch.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 10:15 AM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Mon, May 19, 2014 at 09:39:20AM -0500, Jayson Gallardo wrote:<br>
> Hey, all. So, we recently re-did our server. We were previously running<br>
> Ubuntu, and now we are running Debian. I had performed a pg_dumpall on our<br>
> Postgres database (with PostGIS) and would now like to restore said dump.<br>
> However, I want to make sure I do it right.<br>
<br>
</div>Follow the instructions here:<br>
<a href="http://postgis.net/docs/manual-2.1/postgis_installation.html#hard_upgrade" target="_blank">http://postgis.net/docs/manual-2.1/postgis_installation.html#hard_upgrade</a><br>
<div class=""><br>
> Since I dumped everything, will I need to create all the databases before<br>
> restoring the dump?<br>
><br>
> I should probably install the Postgis plug-in first, right?<br>
<br>
</div>You should create the databases and spatially-enable them<br>
(could be a chance to switch to EXTENSION-based install).<br>
<div class=""><br>
> My dump is pretty big at 101 GB (it contains 3m resolution DEMs of Iowa).<br>
> Is there anything I need to do in order to minimize errors in the restore?<br>
<br>
</div>I guess you could reinstall each database separately, to at least<br>
be more in control of what fails ...<br>
<br>
--strk;<br>
<br>
 ()  ASCII ribbon campaign  --  Keep it simple !<br>
 /\  <a href="http://strk.keybit.net/rants/ascii_mails.txt" target="_blank">http://strk.keybit.net/rants/ascii_mails.txt</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>