urbackup-internet-client/scripts/prefilebackup

13 lines
275 B
Bash

#!/usr/bin/env sh
if [[ -n "$DO_FTP_BACKUP" ]]; then
sh /usr/local/etc/urbackup/ftp_backup.sh
fi
if [[ -n "$DO_MYSQL_BACKUP" ]]; then
sh /usr/local/etc/urbackup/mysql_backup.sh
fi
if [[ -n "$DO_POSTGRES_BACKUP" ]]; then
sh /usr/local/etc/urbackup/postgres_backup.sh
fi