From: | Killian Driscoll <killiandriscoll(at)gmail(dot)com> |
---|---|
To: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Transfer db from one port to another |
Date: | 2015-12-23 09:40:56 |
Message-ID: | CAL64pZMWGCH7KxCG7sU2aqX6abmyEfiG-VWyoN3v+0R2BxK7zA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 23 December 2015 at 10:29, Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
wrote:
> Killian Driscoll <killiandriscoll(at)gmail(dot)com> wrote:
>
> > I am using Windows 8 64 bit, with postgreSQL 9.3 on port 5432 and
> postgreSQL
> > 9.4 on port 5532 with the latter set up to use with Bitnami stack to
> test php
> > files I am generating from my db.
> >
> > I want to transfer my db with three schemas from port 5432 to port 5532
> to use
> > within the bitnami stack. I have used pgAdmin to create a backup.sql and
> when
> > using pgAdmin to restore the .sql to port 5532 I get the following error
>
> Try it with plain pg_dump.
>
> pg_dump -h localhost -p 5432 -Fc <dbname> > dump.sql
>
> pg_restore -h localhost -p 5532 dump.sql
>
I tried this, but nothing appears to happen when entering the commands.
Attached is a screenshot of the shell window - what am I doing wrong?
>
> (untestet, please read *before* the documentation)
>
>
> I think, this should work. No idea what's wrong with pgAdmin, not using
> that.
>
>
> Andreas
> --
> Really, I'm not out to destroy Microsoft. That will just be a completely
> unintentional side effect. (Linus Torvalds)
> "If I was god, I would recompile penguin with --enable-fly." (unknown)
> Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
Attachment | Content-Type | Size |
---|---|---|
![]() |
image/png | 18.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Charles Clavadetscher | 2015-12-23 09:58:56 | Re: Transfer db from one port to another |
Previous Message | Lou Duchez | 2015-12-23 09:32:34 | Re: Secret Santa List |