 restoring to
a virgin system)</p>
<pre>
        pg_dumpall -g &gt; GLOBALobjects.sql

</pre>
<p>2) Backup the full database schema using pg_dump</p>
<pre>
        pg_dump -s DATABASE &gt; DATABASEschema.sql
</pre>
<p>3) Backup the full database using pg_dump</p>
<pre>
        pg_dump -Fc DATABASE &gt; DATABASEdata.tar
</pre>

<p><strong>The original restore procedures were as
follows</strong></p>
<p>1) Create the blank database</p>
<pre>
        createdb DATABASE
</pre>
<p>2) Restore any global database ob