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