Subscribe:

viernes, 18 de noviembre de 2011

RESTAURAR BASE DE DATOS POSTGRES

su - postgres
psql
create database bd-maturin;
Restaurar (consola)
pg-restore -h localhost -p 5432 -U postgres -v -d "bd-maturin" (Nombre del backup)


(Correr Script)
psql -h localhost -p 5432 -U postgres -f "nombrescrip.sql" nombrebd