Database help
developdimensionss
HOBBYOP

2 years ago

How can I change my postgres database to another project.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

9 Replies

brody
EMPLOYEE

2 years ago

There is no way to transfer services themselves from one project to another, for postgres specifically you would need to use pg_dump and pg_restore.


Status changed to Solved Railway over 1 year ago


developdimensionss
HOBBYOP

2 years ago

There is no way to transfer services themselves from one project to another, for postgres specifically you would need to use pg_dump and pg_restore.

How would I do that on the railway website?


brody
EMPLOYEE

2 years ago

It has nothing to do with Railway Itself, it's a CLI tool.


developdimensionss
HOBBYOP

2 years ago

It has nothing to do with Railway Itself, it's a CLI tool.

What would be the best course of action? I have tried using pgadmin


brody
EMPLOYEE

2 years ago

You would need to read the docs for pg_dump and pg_restore as we can't provide support for 3rd party tools.

But why do you need to move the database between projects in the first place?


developdimensionss
HOBBYOP

2 years ago

You would need to read the docs for pg_dump and pg_restore as we can't provide support for 3rd party tools.

But why do you need to move the database between projects in the first place?

I need to move my database to a different project as it has all the data I need


brody
EMPLOYEE

2 years ago

Would it not be simpler to deploy the other services into the same project as the database?


developdimensionss
HOBBYOP

2 years ago

Would it not be simpler to deploy the other services into the same project as the database?

Tried that it is not working there are issues with the database requirements etc


brody
EMPLOYEE

2 years ago

You wouldn't need to touch the database in the case of moving your services into the same project as the database.


Loading...