Projekt

Allgemein

Profil

Setup pqsql91 dbms » Historie » Version 1

Jeremias Keihsler, 13.01.2017 13:57

1 1 Jeremias Keihsler
h1. Install PostgreSQL 9.1
2
3
* Download @Postgresql@ from https://www.postgresql.org/download/windows/
4
* Install @Postgresql@ 
5
** follow all screens with default-value (just @NEXT@) until
6
7
!{width 500}postgres_install_password.png!
8
* enter @project-default@-password twice, the one starting with **"1"** and ending with **"s"**
9
* follow again all screens until copying of files starts
10
11
!{width 500}postgres_install_copy.png!
12
* as soon as copying has finished
13
* **uncheck** @launch stack-builder@
14
15
!{width 500}postgres_install_finish.png!
16
* Finish
17
18
h1. Restore production DB
19
20
open @console@ via @WINDOWS+r@ 
21
@cmd@
22
<pre><code class="bash">
23
"c:\Program Files (x86)\postgresql\9.1\bin\psql.exe" -U postgres -f "c:\users\OMB\Desktop\pg_dumpall.sql"
24
</code></pre>
25
enter the usual @project-password@
26
27
h1. Redirect DB from old server to new server
28
29
open @console@ via @WINDOWS+r@ 
30
@cmd@
31
<pre><code class="bash">
32
c:\windows\system32\odbcad32.exe
33
</code></pre>
34
* goto @System DSN@
35
36
!{width 500}postgres_odbc_1.png!
37
* select **12005** and @configure@
38
39
!{width 500}postgres_odbc_2.png!