From: | Joao Ferreira gmail <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: modo texto |
Date: | 2009-05-28 16:03:19 |
Message-ID: | 1243526599.4607.33.camel@debj5n.critical.pt |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 2009-05-28 at 16:43 +0100, Grzegorz Jaśkiewicz wrote:
> On Thu, May 28, 2009 at 4:24 PM, <inf200468(at)ucf(dot)edu(dot)cu> wrote:
> > hi, sorry my english
> > I need to copy a data base from windows to linux, how can I save my data
> > base from windows with pg_dump, and where the file is??????
> > and after how can I create the data base in linux without graphic enviroment
> > , just text mode, with commands
>
> yes, pg_dump is just the tool for it.
>
> when you run pg_dump., you decide where the file is going to be
> stored, by redirecting output to a file:
>
> pg_dump database > C:\tmp\foo.sql
>
take a look at:
a) the --clean option and also
b) pg_dumpall
depending on what exactly you have in hands these options would be
helpfull.
Joao
>
> --
> GJ
>
From | Date | Subject | |
---|---|---|---|
Next Message | Alan McKay | 2009-05-28 16:15:02 | Continuent (was: Postgres Clustering) |
Previous Message | miller_2555 | 2009-05-28 15:59:50 | Re: Multidimensional array definition in composite type appears parsed as string -- SOLVED |