Starting the migration over
If I migrated a database and then continued to write data to the legacy datebase, to re-migrate can I:
- Delete the newly created migrated Databases (the ones with volumes)?
- Delete the newly created volume
- rename the legacy DB
- and remigrate with the migrate button again?
Or are their additional steps required?
11 Replies
Project ID:
N/A
N/A
missed one critical step
- Delete the newly created migrated Databases (the ones with volumes)?
- Delete the newly created volume
- rename the legacy DB
- make sure the app is using reference variables
- and remigrate with the migrate button again?
Ahh, yes, that would be important. That would prevent the same situation from happening again, right?
correct!
Is there a fast way to update my app to reference variables?
edit the raw variables directly would be my preferred method
do you know the syntax for them?
I am not sure, this is less clear than I hoped:
https://docs.railway.app/guides/variables#shared-variables
is this how I do it if my db is named postgres
this is the section of the docs you'd need
https://docs.railway.app/guides/variables#referencing-another-services-variable
but yes those variables are all correct for use in step 4
Thanks Brody
no problem!