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
--
GJ