#migration did not migrate databases other than the default database name

23 messages · Page 1 of 1 (latest)

visual flame
#

My project f2235461-fc48-407d-bdb9-280b41d90865

I have two envs. And my database have a diferente name and they were not migrated

In HML: the name of database is controbank
In PRD: the name of database is masterfin

sudden bronzeBOT
#

Project ID: f2235461-fc48-407d-bdb9-280b41d90865

amber vaporBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

tulip oar
#

railway does not delete the legacy database during the migration process, so i cant see how there would be any data loss.
you should be able to go into the database and run the migration from the banner

visual flame
#

The problem is that the right database was not migrated, only the railway database was migrated, but I use others. How do I get the data there?
My application stopped working

tulip oar
#

you should be able to go into the database and run the migration from the banner

visual flame
#

I already clicked on the banner and made the migration. Both bank services are already running. However, my data was not taken, which is in the old service with a bank name other than railway

tulip oar
#

can i see a screenshot of the project please

visual flame
tulip oar
#

im not seeing any database named controbank or masterfin

visual flame
#

The migration that was carried out only took the railway database. But like I said, my data is in another database

tulip oar
#

can you tell me more about this other database?

visual flame
tulip oar
#

okay thats what you meant, sorry it wasnt clear

visual flame
#

Yes, within Postgres I created another database. "create database masterfin..." and my application connects to that database and not the default, railway

tulip oar
#

for that you would need to manually dump those tables and restore them to the new database

#

the auto migration is only going to migrate the database named railway

visual flame
#

Can you help me do this, I already tried and I didn't succeed?

tulip oar
#

im sure beekeeper has some sort of dumb or export feature right?

visual flame
#

I did not find

#

I managed to do the dump, but I can't restore it