Buscar en moleculax
pg_dump automatico LINUX

#!/bin/bash
export PGUSER=usuario_de_la_bd
export PGPASSWORD=password
pg_dump -Ft -b -d tu_base_de_datos > backup.tar






export PGUSER=usuario_de_la_bd
export PGPASSWORD=password
pg_dump -Ft -b -d tu_base_de_datos > backup.tar
unset PGUSER
unset PGPASSWORD





PGUSER=usuario_de_la_bd PGPASSWORD=password pg_dump -Ft -b -d tu_base_de_datos > backup.tar



.


Powered by

http://emiliogomez.com.ar