5
11
Fork
You've already forked tomato
1

Add restore_from_prod_db script #25

Merged
edwardloveall merged 2 commits from el-restore-from-prod into main 2025年09月08日 15:24:52 +02:00

I've been using this a bunch to reset my local environment so it seemed useful to actually ship.

I've been using this a bunch to reset my local environment so it seemed useful to actually ship.
Add restore_from_prod_db script
Some checks failed
Setup Successful
Jest Successful
Static Analysis Successful
RSpec Failed
90f24da4d3
thetizzo left a comment
Copy link

This looks good. I also thought Heroku had a db:pull type thing in their CLI that did something similar to this without replacing the local db.

This looks good. I also thought Heroku had a db:pull type thing in their CLI that did something similar to this without replacing the local db.
edwardloveall force-pushed el-restore-from-prod from 4205816da6 to 2277908566
Some checks failed
Setup Successful
Jest Successful
Static Analysis Successful
RSpec Failed
2025年09月08日 15:24:38 +02:00
Compare
Author
Owner
Copy link
heroku pg:pull --help
pull Heroku database into local or remote database

Oh yeah, that is cool. I tried it and it works as expected.

I like it, but we've talked internally about moving off heroku (or at least moving the database) specifically because there are database things we can't do there. So I think in this case I like being only tied to a heroku URL, not a whole restore command since this will keep us portable.

```sh heroku pg:pull --help pull Heroku database into local or remote database ``` Oh yeah, that is cool. I tried it and it works as expected. I like it, but we've talked internally about moving off heroku (or at least moving the database) specifically because there are database things we can't do there. So I think in this case I like being only tied to a heroku URL, not a whole restore command since this will keep us portable.
edwardloveall deleted branch el-restore-from-prod 2025年09月08日 15:24:52 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!25
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-restore-from-prod"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?