From: | Shreeyansh dba <shreeyansh2014(at)gmail(dot)com> |
---|---|
To: | "Perry, Hemy" <hemy_perry(at)mentor(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_dump from older version and pg_restore in newer |
Date: | 2015-01-18 11:03:09 |
Message-ID: | CAGDYbUMZ+=Xji5wt2royVK0U6Yxvdju8dXvYwOdsT34GXgfjig@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Sun, Jan 18, 2015 at 3:55 PM, Perry, Hemy <hemy_perry(at)mentor(dot)com> wrote:
> Hi,
>
>
>
> I am planning a migration from 9.1.7 to 9.4.0.
>
> On many threads I noticed that the recommendation is “Be sure to use
> pg_dump from the *new* version to take the dump from the old database.”
>
>
>
> Is that a must?
>
> Is there a chance that a restore using new version will fail because the
> dump was taken with **old** bin?
>
>
>
> Regards
>
> Hemy
>
>
>
>
>
Hi Hemy,
Using of new version dump is not a must. You can use dump of Older
version(9.1.7) and use restore of New version(9.4.0)
Using restore of new version will not fail because the dump was taken with *
*old** bin.
This can fail only if you give any wrong syntax in command.
Hope this clears your issue.
-
*Thanks & Regards,*
*Venkataramana Aitla*
*Database Administrator*
*www.shreeyansh.com <http://www.shreeyansh.com>*
From | Date | Subject | |
---|---|---|---|
Next Message | Perry, Hemy | 2015-01-18 11:07:34 | Re: pg_dump from older version and pg_restore in newer |
Previous Message | Perry, Hemy | 2015-01-18 10:25:37 | pg_dump from older version and pg_restore in newer |