Comments (6)
FOr the record, this did not work for me:
dokku psql:dump softdispdjango-dev --data-only --table=dashboard_system --table=dashboard_systemdependency > softdispdjango-dev.dump
from dokku-psql-single-container.
Well you can’t, the dump and restore commands are done like it works on heroku. What you can do is to use directly pg_dump
and pg_restore
in the container via docker exec
.
You could do something like docker exec -i psql-single-container pg_dump --data-only … > database.dump
I think
from dokku-psql-single-container.
dokku 0.4.5 via vagrant installs in such a way that docker commends are failing.
vagrant@dokku-vagrant:~$ docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Doing some RTFM to figure things out.
from dokku-psql-single-container.
You have to use sudo
to use docker :)
from dokku-psql-single-container.
d'oh of course!
from dokku-psql-single-container.
For the record, I am only trying to do this because of the problems I had in ticket #22 with a regular, full dump&restore.
from dokku-psql-single-container.
Related Issues (20)
- How to expose postgresql container to public? HOT 9
- Linking a db container with multiple app containers HOT 8
- Continuous archiving? HOT 4
- Add helpful error on "dokku psql:restore x y.dump" without "<" HOT 4
- "dokku psql:dumpall" for backups HOT 3
- Not all pg_dump output formats supported by psql:restore HOT 5
- Consider deprecating HOT 9
- Errors for psql plugin while listing all plugins HOT 4
- error when restoring into an app with a slightly different name HOT 3
- can't pgadmin into the database HOT 4
- Where to find password for psql:admin_console or how can I reset it? HOT 2
- dokku 0.5.x help gets corrupted by this plugin HOT 1
- Can't list databases, asks for password
- No data provided on stdin. HOT 3
- dokku 0.3.17 deb's postinst changes owner of /home/dokku/.psql-sc/data HOT 2
- dump command waits for enter HOT 4
- Database creation failed: role does not exist HOT 2
- Upgrade from 9.3 to 9.4 HOT 5
- Feature: Configure PSQL_ROOT in ENV HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-psql-single-container.