migration did not migrate databases other than the default database name

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
19 Replies
Percy
Percy11mo ago
Project ID: f2235461-fc48-407d-bdb9-280b41d90865
Brody
Brody11mo ago
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
gabrielduarte9187
gabrielduarte9187OP11mo ago
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
Brody
Brody11mo ago
you should be able to go into the database and run the migration from the banner
Brody
Brody11mo ago
No description
gabrielduarte9187
gabrielduarte9187OP11mo ago
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
Brody
Brody11mo ago
can i see a screenshot of the project please
gabrielduarte9187
gabrielduarte9187OP11mo ago
No description
Brody
Brody11mo ago
im not seeing any database named controbank or masterfin
gabrielduarte9187
gabrielduarte9187OP11mo ago
The migration that was carried out only took the railway database. But like I said, my data is in another database
Brody
Brody11mo ago
can you tell me more about this other database?
gabrielduarte9187
gabrielduarte9187OP11mo ago
Look
No description
Brody
Brody11mo ago
okay thats what you meant, sorry it wasnt clear
gabrielduarte9187
gabrielduarte9187OP11mo ago
Yes, within Postgres I created another database. "create database masterfin..." and my application connects to that database and not the default, railway
Brody
Brody11mo ago
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
gabrielduarte9187
gabrielduarte9187OP11mo ago
Can you help me do this, I already tried and I didn't succeed?
Brody
Brody11mo ago
im sure beekeeper has some sort of dumb or export feature right?
gabrielduarte9187
gabrielduarte9187OP11mo ago
I did not find I managed to do the dump, but I can't restore it
Want results from more Discord servers?
Add your server