mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 19:08:15 +03:00
Merge branch 'master' of https://github.com/phiberjenz/cookiecutter-django into phiberjenz-master
This commit is contained in:
commit
c35fc6acbe
|
@ -112,7 +112,13 @@ To restore a backup, run::
|
||||||
|
|
||||||
docker-compose -f dev.yml run postgres restore filename.sql
|
docker-compose -f dev.yml run postgres restore filename.sql
|
||||||
|
|
||||||
|
To copy the files from the running Postgres container to the host system::
|
||||||
|
|
||||||
|
docker <containerId>:/backups /host/path/target
|
||||||
|
|
||||||
|
Where <containerId> is the ID of the Postgres container. To get it, run::
|
||||||
|
|
||||||
|
docker ps
|
||||||
|
|
||||||
Other Useful Tips
|
Other Useful Tips
|
||||||
-----------------
|
-----------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user