Added instructions on how to copy backups from Docker container to host

This commit is contained in:
phiberjenz 2016-05-19 15:27:33 +02:00
parent 779365c9f0
commit 8795dacbb3

View File

@ -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 <postgres containerId>:/backups /host/path/target
To get your Postgres container ID, run::
docker ps
Other Useful Tips Other Useful Tips
----------------- -----------------