If the database hasn't been initialized you have to run initdb to create a
data location.


Dieter Simader    http://www.sql-ledger.org   (780) 472-8161
DWS Systems Inc.     Accounting Software       Fax: 478-5281
=========== On a clear disk you can seek forever ===========

On 11 Nov 2002, Scott Taylor wrote:

>
> Dieter
>
> This is a completely new server install of Red Hat 8. I have tried to
> use the commands that I remembered from 7.3 but they are not working.
>
> bash-2.05b$ postmaster -Di /var/lib/pgsql/data/
> postmaster: invalid argument -- /var/lib/pgsql/data/
> Try 'postmaster --help' for more information.
>
> I am assuming that before I try your advise I need to follow the
> "Prepare your SQL Server" which creates a user, and "Setup a Database
> and the Tables" which does just that. But I need to start the server
> first and I do not know where the server is?
>
> Maybe someone could explain to me why the PostgreSQL documentation
> assumes you know where the server is?
>
> Can you help?
>
> Scott
>
> On Mon, 2002-11-11 at 17:25, Dieter Simader wrote:
> >
> > Scott,
> >
> > setup the tables and restore the data with psql.
> >
> > $ psql -U dbowner dbname < backup.sql
> >
> >
> > Dieter Simader    http://www.sql-ledger.org   (780) 472-8161
> > DWS Systems Inc.     Accounting Software       Fax: 478-5281
> > =========== On a clear disk you can seek forever ===========
> >
> > On 11 Nov 2002, Scott Taylor wrote:
> >
> > >
> > > Could someone help me please with how to repopulate a new upgrade
> > > database with a backup of SL
> > >
> > > Thanks
> > >
> > > Scott
> > >
> >
> >
>


Reply via email to