-
Published Answer
Thank you. For pgdump I had to also add:
-p myport_number
(in my case 25060).
•
By
Motash
-
Published Question
If I remove a database cluster which (its backup [Backups -> More -> Restore]) was a parent of another database cluster, will it affect a "child" (after "Restore") database cluster?
I'm 99,9% sure that those two datab...
Accepted Answer:
Hi there Motash!
Thanks for the question. Clusters created from another cluster (forks and clusters resulting from a restore-from-backup) are created as unique clusters. Deleting the parent in these cases will not aff...
1
•
•
By
Motash
DigitalOcean
Databases
-
Published Question
How to download a database from Managed Database Cluster (PostgreSQL)?
And
How to upload existing database to Managed Database Cluster (PostgreSQL)?
Accepted Answer:
Hi there @Motash,
You should be able to achieve both of these by using the pg_dump and pg_restore command-line tools.
A command similar to the following should allow you to dump all the data from your remote PostgreSQ...
2
•
•
By
Motash
DigitalOcean
Databases
Ubuntu 18.04
-
Published Answer
Hi, thanks, it helped. After investigation I figured out that my env variable <%= ENV["DO_DATABASE"] %>was seen by system wh…
•
By
Motash
-
Published Question
My Rails config/database.yml is:
production:
url: <%= ENV["DO_DATABASE"] %>
Url is based on provided by DO connection details (connection string).
I've made rails db:migrate and db:seed. And it worked. When I check ...
2
•
•
By
Motash
Nginx
Ruby on Rails
PostgreSQL
DigitalOcean
Ubuntu 18.04
-
Published Question
I established DigitalOcean Droplet with Rails+Nginx+Puma (Rails version: 5.2.1, Ruby version: 2.5.1 (x8664-linux), Ubuntu 18.04) and as a result I see popular "Yay! You’re on Rails!". So I added new controller and vie...
0
•
•
By
Motash
Ruby on Rails
Ubuntu 18.04