forked from ISTI-ansible-roles/ansible-roles
12 lines
223 B
Plaintext
12 lines
223 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# Run a DB dump before the backup
|
||
|
if [ -x /usr/local/sbin/postgresql-backup ] ; then
|
||
|
/usr/local/sbin/postgresql-backup
|
||
|
fi
|
||
|
|
||
|
if [ -x /usr/local/sbin/mysql-backup ] ; then
|
||
|
/usr/local/sbin/mysql-backup
|
||
|
fi
|
||
|
|