This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
urbackup-internet-client/scripts/prefilebackup

14 lines
305 B
Bash

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