From 6dfef61a7b89a8a95f3595926a6ac7415f7b8cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20David?=
 <Jerome.David@univ-grenoble-alpes.fr>
Date: Tue, 27 May 2014 15:50:35 +0000
Subject: [PATCH] postgres commands

---
 html/aserv.html | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/html/aserv.html b/html/aserv.html
index d643ec8a..9ac6bd11 100644
--- a/html/aserv.html
+++ b/html/aserv.html
@@ -59,10 +59,11 @@ postgres# quit
 Tentative by JD:
 <div class="terminal">
 su postgres
-createuser adminAServ
+createuser -P adminAServ
 createdb -O adminAServ AServDB
 </div>
-<p>
+Choose password 'aaa345' when prompted by createuser command.
+</p>
 
 <h2>Launching the Alignment server</h2>
 
@@ -230,8 +231,11 @@ sql> source toto.sql;
 <p>
 For Postgres:
 <div class="terminal">
-$ su postgres
-$ dropdb AServDB
+$ pg_dump  -W -U adminAServ > AServBackup
+</div>
+And restoring:
+<div class="terminal">
+$ psql -W -U adminAServ < AServBackup
 </div>
 
 </p>
-- 
GitLab