From 0f1af0844114789ead67c4faa61a3b8cbb64139c Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Fri, 2 Feb 2018 09:48:57 +0100
Subject: [PATCH] Update backup and restore instructions

---
 README.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.rst b/README.rst
index c1f10f5..f904c54 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
-- 
GitLab