12 lines
224 B
Plaintext
12 lines
224 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
LOG_FILE=/var/log/mysql-backup.log
|
||
|
if [ -x /etc/cron.daily/duplicity_backup ] ; then
|
||
|
echo "duplicity backups active. Exiting" > $LOG_FILE
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
/usr/local/sbin/mysql-backup > $LOG_FILE 2>&1
|
||
|
|
||
|
exit 0
|