urbackup-internet-client/scripts/prefilebackup

14 lines
305 B
Text
Raw Permalink Normal View History

2022-10-09 11:33:33 +00:00
#!/usr/bin/env sh
2020-02-03 20:27:33 +00:00
if [[ -n "$DO_FTP_BACKUP" ]]; then
2022-10-09 12:42:33 +00:00
sh /usr/local/etc/urbackup/ftp_backup.sh || exit 1
fi
2020-02-03 20:27:33 +00:00
if [[ -n "$DO_MYSQL_BACKUP" ]]; then
2022-10-09 12:42:33 +00:00
sh /usr/local/etc/urbackup/mysql_backup.sh || exit 1
2020-02-03 20:06:20 +00:00
fi
2022-10-06 15:07:05 +00:00
if [[ -n "$DO_POSTGRES_BACKUP" ]]; then
2022-10-09 12:42:33 +00:00
sh /usr/local/etc/urbackup/postgres_backup.sh || exit 1
2022-10-06 15:07:05 +00:00
fi