diff --git a/crearRespaldo.sh b/crearRespaldo.sh new file mode 100644 index 0000000..3aef5dc --- /dev/null +++ b/crearRespaldo.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# crearRespaldo.sh + +# Install Environment file +source .env + +# Backup MongoDB +/usr/bin/docker exec -t enflujo-cms-bd pg_dump \ + -U $BD_USUARIO $BD_NOMBRE_BD \ + > ./dump/enflujobd.sql