documentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
documentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy [2014/01/17 23:00] – kobe | documentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy [2014/01/17 23:01] – kobe | ||
---|---|---|---|
Line 13: | Line 13: | ||
# apt-get upgrade | # apt-get upgrade | ||
- | Backup database: | + | Backup database |
- | # su - postgres | ||
$ pg_dump -f / | $ pg_dump -f / | ||
Line 44: | Line 43: | ||
Crea il database nuovo su Postgres 9.1: | Crea il database nuovo su Postgres 9.1: | ||
- | # su - postgres | ||
$ psql | $ psql | ||
=# CREATE ROLE gasdeploy WITH LOGIN PASSWORD ' | =# CREATE ROLE gasdeploy WITH LOGIN PASSWORD ' | ||
Line 51: | Line 49: | ||
Importa il vecchio database: | Importa il vecchio database: | ||
- | | + | |