This is an unofficial manual for the couchdb Python module I wish I had had.
pip install couchdb
This is an unofficial manual for the couchdb Python module I wish I had had.
pip install couchdb
| #!/bin/bash | |
| # Stop all containers | |
| containers=`docker ps -a -q` | |
| if [ -n "$containers" ] ; then | |
| docker stop $containers | |
| fi | |
| # Delete all containers | |
| containers=`docker ps -a -q` | |
| if [ -n "$containers" ]; then | |
| docker rm -f -v $containers |
| pg_restore --clean --no-acl --no-owner -d <database> -U <user> <filename.dump> |