How to use a postgres base from an older version?












1















I've been sent a data folder for a postgres v8.4 server.
I only have a v11 server and it does not let me start the base, printing that the database files are incompatible with the server because it had been initialized with PGSQL v8.4.
Is there a way for me to upgrade the base so the v11 server can use it?




C:Program FilesPostgreSQL11bin>pg_ctl start pg_ctl : un autre
serveur semble en cours d'exécution ; le démarrage du serveur va
toutefois être tenté en attente du démarrage du serveur....2019-01-07
10:08:11.269 GMT [25476] LOG: ignore le fichier de configuration «
C:/Program Files/PostgreSQL/11/data/postgresql.auto.conf » manquant
2019-01-07 10:08:11 GMT FATAL: les fichiers de la base de données
sont incompatibles avec le serveur 2019-01-07 10:08:11 GMT DÉTAIL: Le
répertoire des données a été initialisé avec PostgreSQL version 8.4,
qui est non compatible avec cette version 11.1. attente arrêtée pg_ctl : n'a pas pu démarrer le serveur Examinez le journal
applicatif.



C:Program FilesPostgreSQL11bin>











share|improve this question























  • Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

    – Toto
    Jan 7 at 13:09
















1















I've been sent a data folder for a postgres v8.4 server.
I only have a v11 server and it does not let me start the base, printing that the database files are incompatible with the server because it had been initialized with PGSQL v8.4.
Is there a way for me to upgrade the base so the v11 server can use it?




C:Program FilesPostgreSQL11bin>pg_ctl start pg_ctl : un autre
serveur semble en cours d'exécution ; le démarrage du serveur va
toutefois être tenté en attente du démarrage du serveur....2019-01-07
10:08:11.269 GMT [25476] LOG: ignore le fichier de configuration «
C:/Program Files/PostgreSQL/11/data/postgresql.auto.conf » manquant
2019-01-07 10:08:11 GMT FATAL: les fichiers de la base de données
sont incompatibles avec le serveur 2019-01-07 10:08:11 GMT DÉTAIL: Le
répertoire des données a été initialisé avec PostgreSQL version 8.4,
qui est non compatible avec cette version 11.1. attente arrêtée pg_ctl : n'a pas pu démarrer le serveur Examinez le journal
applicatif.



C:Program FilesPostgreSQL11bin>











share|improve this question























  • Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

    – Toto
    Jan 7 at 13:09














1












1








1








I've been sent a data folder for a postgres v8.4 server.
I only have a v11 server and it does not let me start the base, printing that the database files are incompatible with the server because it had been initialized with PGSQL v8.4.
Is there a way for me to upgrade the base so the v11 server can use it?




C:Program FilesPostgreSQL11bin>pg_ctl start pg_ctl : un autre
serveur semble en cours d'exécution ; le démarrage du serveur va
toutefois être tenté en attente du démarrage du serveur....2019-01-07
10:08:11.269 GMT [25476] LOG: ignore le fichier de configuration «
C:/Program Files/PostgreSQL/11/data/postgresql.auto.conf » manquant
2019-01-07 10:08:11 GMT FATAL: les fichiers de la base de données
sont incompatibles avec le serveur 2019-01-07 10:08:11 GMT DÉTAIL: Le
répertoire des données a été initialisé avec PostgreSQL version 8.4,
qui est non compatible avec cette version 11.1. attente arrêtée pg_ctl : n'a pas pu démarrer le serveur Examinez le journal
applicatif.



C:Program FilesPostgreSQL11bin>











share|improve this question














I've been sent a data folder for a postgres v8.4 server.
I only have a v11 server and it does not let me start the base, printing that the database files are incompatible with the server because it had been initialized with PGSQL v8.4.
Is there a way for me to upgrade the base so the v11 server can use it?




C:Program FilesPostgreSQL11bin>pg_ctl start pg_ctl : un autre
serveur semble en cours d'exécution ; le démarrage du serveur va
toutefois être tenté en attente du démarrage du serveur....2019-01-07
10:08:11.269 GMT [25476] LOG: ignore le fichier de configuration «
C:/Program Files/PostgreSQL/11/data/postgresql.auto.conf » manquant
2019-01-07 10:08:11 GMT FATAL: les fichiers de la base de données
sont incompatibles avec le serveur 2019-01-07 10:08:11 GMT DÉTAIL: Le
répertoire des données a été initialisé avec PostgreSQL version 8.4,
qui est non compatible avec cette version 11.1. attente arrêtée pg_ctl : n'a pas pu démarrer le serveur Examinez le journal
applicatif.



C:Program FilesPostgreSQL11bin>








postgresql






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 7 at 10:14









LJISAMLJISAM

82




82













  • Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

    – Toto
    Jan 7 at 13:09



















  • Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

    – Toto
    Jan 7 at 13:09

















Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

– Toto
Jan 7 at 13:09





Tu trouveras certainement plus d'informations ici : forums.postgresql.fr

– Toto
Jan 7 at 13:09










1 Answer
1






active

oldest

votes


















0














You need to upgrade the database to a format that is compatible with version 11.



Your options are either to dump the database using the supplied program
pg_dumpall and construct a new database,
or to upgrade it using pg_upgrade.



You will find more information in the following PostgreSQL documentation:




  • Upgrading a PostgreSQL Cluster

  • pg_upgrade


I would advice, if you opt for the upgrade in-place of pg_upgrade,
to copy the data elsewhere for this operation.






share|improve this answer
























  • So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

    – LJISAM
    Jan 9 at 15:55











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391432%2fhow-to-use-a-postgres-base-from-an-older-version%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You need to upgrade the database to a format that is compatible with version 11.



Your options are either to dump the database using the supplied program
pg_dumpall and construct a new database,
or to upgrade it using pg_upgrade.



You will find more information in the following PostgreSQL documentation:




  • Upgrading a PostgreSQL Cluster

  • pg_upgrade


I would advice, if you opt for the upgrade in-place of pg_upgrade,
to copy the data elsewhere for this operation.






share|improve this answer
























  • So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

    – LJISAM
    Jan 9 at 15:55
















0














You need to upgrade the database to a format that is compatible with version 11.



Your options are either to dump the database using the supplied program
pg_dumpall and construct a new database,
or to upgrade it using pg_upgrade.



You will find more information in the following PostgreSQL documentation:




  • Upgrading a PostgreSQL Cluster

  • pg_upgrade


I would advice, if you opt for the upgrade in-place of pg_upgrade,
to copy the data elsewhere for this operation.






share|improve this answer
























  • So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

    – LJISAM
    Jan 9 at 15:55














0












0








0







You need to upgrade the database to a format that is compatible with version 11.



Your options are either to dump the database using the supplied program
pg_dumpall and construct a new database,
or to upgrade it using pg_upgrade.



You will find more information in the following PostgreSQL documentation:




  • Upgrading a PostgreSQL Cluster

  • pg_upgrade


I would advice, if you opt for the upgrade in-place of pg_upgrade,
to copy the data elsewhere for this operation.






share|improve this answer













You need to upgrade the database to a format that is compatible with version 11.



Your options are either to dump the database using the supplied program
pg_dumpall and construct a new database,
or to upgrade it using pg_upgrade.



You will find more information in the following PostgreSQL documentation:




  • Upgrading a PostgreSQL Cluster

  • pg_upgrade


I would advice, if you opt for the upgrade in-place of pg_upgrade,
to copy the data elsewhere for this operation.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 7 at 15:47









harrymcharrymc

257k14269572




257k14269572













  • So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

    – LJISAM
    Jan 9 at 15:55



















  • So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

    – LJISAM
    Jan 9 at 15:55

















So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

– LJISAM
Jan 9 at 15:55





So regardless of the upgrade method I use, I'll need an installation of PGSQL in the older version to make it work. As is, I'm better off requesting a dump from my source.

– LJISAM
Jan 9 at 15:55


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391432%2fhow-to-use-a-postgres-base-from-an-older-version%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa