19 lines
459 B
Bash
19 lines
459 B
Bash
#!/bin/bash
|
|
# backup directory
|
|
BU_DIR=/storage/pgsql/daily
|
|
# server
|
|
SERVER=localhost
|
|
# user info
|
|
USER=osltest
|
|
PASSWORD=testbigtime
|
|
# a list of databases to backup
|
|
DBS="osltest"
|
|
# email address to send reports to, and subject
|
|
EMAIL=backup-reports@lists.openstrategies.net
|
|
EMAIL_SUBJ="OslUK Postgres Daily OSL Devel Backup Report"
|
|
# backup Identifier
|
|
BU_IDENT=daily-devel
|
|
# number of backups for each db to keep
|
|
BU_TO_KEEP=7
|
|
# output for debugging...
|
|
VERBOSE=1
|