Importing an older Database into the latest docker image #8649
-
|
Hi all, we run an older CoCalc installation which uses PostgreSQL 14. Since some internal restructuring (nothing to do with CoCalc itself) the older version doesn't run anymore. Dumping and importing the old database in a simple way failed because the schema changed. Old CoCalc docker image: sagemathinc/cocalc-v2 uses PostgreSQL 14.8 The Import of the Dump of the Is there a way to import the old data? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I'm guessing, you have to do a database update, since the major version changed: https://www.postgresql.org/docs/current/pgupgrade.html |
Beta Was this translation helpful? Give feedback.
-
|
Yes, but that's not the main problem. Crucial is that the underlying database |
Beta Was this translation helpful? Give feedback.
CoCalc should do this on its own (it checks for tables and columns in the database, and modifies the schema)