I can not back up the database with PostgreSQL

0

When trying to backup my database, the following message is presented:

my operating system is windows and I am using pgAdmin III. Someone who can help me, thank you.

    
asked by Carmen A. 29.09.2017 в 17:48
source

1 answer

0

You can try it from the console enter this code and change the data by your connection:

pg_dump -i -h <server> -p <puerto> -U <usuario> -F c -b -v -f <nombre_fichero> <bd>

and I leave this example of my connection that I used recently:

pg_dump -i -h localhost -p 5432 -U postgres -F c -b -v -f "/home/damian/backups/mibase.backup" mibase

This code I always use and it works well

    
answered by 29.09.2017 / 18:22
source