From 8795dacbb3dd88485a92157705bdaee6e3565364 Mon Sep 17 00:00:00 2001 From: phiberjenz Date: Thu, 19 May 2016 15:27:33 +0200 Subject: [PATCH] Added instructions on how to copy backups from Docker container to host --- docs/developing-locally-docker.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developing-locally-docker.rst b/docs/developing-locally-docker.rst index 8cbf7234..237e1a47 100644 --- a/docs/developing-locally-docker.rst +++ b/docs/developing-locally-docker.rst @@ -112,7 +112,13 @@ To restore a backup, run:: docker-compose -f dev.yml run postgres restore filename.sql +To copy the files from the running Postgres container to the host system:: + docker :/backups /host/path/target + +To get your Postgres container ID, run:: + + docker ps Other Useful Tips -----------------