Bash

Script de Respaldo

in

#!/bin/bash
# PostgreSQL database backup/restore script - Copyright 2003 DRIM-TECH S.L.
# This script is distributed under the terms of the GNU General Public
# License. A copy is available at http://www.gnu.org/

# #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# # PARAMS
# #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pg_dump="/usr/bin/pg_dump"
psql="/usr/bin/psql"
createdb="/usr/bin/createdb"
USER=postgres
BACKUP_DIR="/data/web/internal_app/pg_backups/"

Syndicate content

Back to top

Powered by drupal | Diseño de plantilla gracias a www.psql.it
Powered by Drupal, an open source content management system