Advanced Search
Search Results
3 total results found
Sync production database to local
Example with the holmen-quiz app Proceed from in your project folder. Fly app name: holmen-quizFly database app name: holmen-quiz-dbLocal database name: holmen_quiz_backend_2022_development 1. Preparation Start proxy: fly proxy 15432:5432 -a holmen-quiz-d...
Restore local .sql dump to Hatchbox
Restore .sql dump to Hatchbox Add your SSH public key in the Hatchbox web GUI if you have not. HWGUI: Hatchbox web GUI ~/.ssh/config example Host * AddKeysToAgent yes IdentityFile ~/.ssh/id_ed25519 Start SSH proxy Find SSH host in HWGUI on your...
Dump database to .sql
1. Preparation Start proxy: ssh -L 15432:localhost:5432 deploy@16.171.240.56 2. Dump Find Private Connection URI on your database in Hatchbox GUI. Copy username, password and database into your local terminal and run: pg_dump postgresql://<username>:<pass...