All Templates / Storage
Postgres Plugin Migration
Migrate from a legacy Postgres plugin to a V2 database service
postgres migration
railwayapp-templates/postgres-plugin-migration:latest
Just deployed
Service that will migrate data from a legacy Postgres plugin to a V2 database service.
PLUGIN_URL
: The DATABASE_URL of the legacy plugin. This is used as the source database.NEW_URL
: The DATABASE_URL of the V2 database service. This is used as the destination.No data is ever deleted from the plugin. You should delete the plugin manually after confirming that the migration was successful
View the migration script here
If you want to avoid egress charges, you should use the new database service DATABASE_PRIVATE_URL
Template Content
postgres migration
ghcr.io/railwayapp-templates/postgres-plugin-migration:latestNEW_URL
The DATABASE_URL
of the V2 database service to migrate the data to
PLUGIN_URL
The DATABASE_URL
of the plugin to migrate the data from. _Hint: use ${{ PostgresPlugin.DATABASE_URL }}
Details
Railway Templates
Created on Nov 3, 2023
39 total projects
17 active projects
0% success on recent deploys
Storage
More templates in this category