mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 05:36:58 +03:00
Added instructions on how to copy backups from Docker container to host
This commit is contained in:
parent
8795dacbb3
commit
82dae58061
|
@ -114,9 +114,9 @@ To restore a backup, run::
|
||||||
|
|
||||||
To copy the files from the running Postgres container to the host system::
|
To copy the files from the running Postgres container to the host system::
|
||||||
|
|
||||||
docker <postgres containerId>:/backups /host/path/target
|
docker <containerId>:/backups /host/path/target
|
||||||
|
|
||||||
To get your Postgres container ID, run::
|
Where <containerId> is the ID of the Postgres container. To get it, run::
|
||||||
|
|
||||||
docker ps
|
docker ps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user