Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6dfef61a authored by Jérôme David's avatar Jérôme David
Browse files

postgres commands

parent 7217d04b
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment