-
-
Save samuelloza/65168021f1cbdc8de24c12626df8fa55 to your computer and use it in GitHub Desktop.
Postgres restaurar copia de seguridad remota
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Restaurar copia de seguridad remotamente | |
| ELiminamos la copia de seguridad | |
| dropdb -h 192.168.188.4 -p 5432 -U postgres -W siipp | |
| Creamos la bd | |
| createdb -h 192.168.188.4 -p 5432 -U postgres -W siipp | |
| Restauramos la copia de seguridad | |
| psql -h 192.168.188.4 -p 5432 -U postgres -W siipp < archivo.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment