diff --git a/README.rst b/README.rst index c1f10f50c95c46aa5cc713c01180aecbf8a9188c..f904c549337933e88afe06f5dc3722cd714ce10f 100644 --- a/README.rst +++ b/README.rst @@ -70,13 +70,13 @@ Backup & restore To dump the database:: $ docker run --rm --link csentry_postgres:postgres --net csentry_default -e PGPASSWORD="<csentry_password>" - postgres:10 pg_dump -h postgres -U csentry csentry_db | gzip > csentry_db.dump.gz + postgres:10 pg_dump -h postgres -U ics csentry_db | gzip > csentry_db.sql.gz To restore the database:: - $ gunzip -c csentry_db.dump.g | docker run --rm --link csentry_postgres:postgres --net csentry_default - -e PGPASSWORD="<csentry_password>" -i postgres:10 psql -h postgres -U csentry csentry_db + $ gunzip -c csentry_db.sql.gz | docker run --rm --link csentry_postgres:postgres --net csentry_default + -e PGPASSWORD="<csentry_password>" -i postgres:10 psql -h postgres -U ics csentry_db Dependencies