fixed backup function name

This commit is contained in:
André Bauer 2017-11-11 11:34:18 +01:00
parent 1cd22e947a
commit f0814f4bbf

View File

@ -28,7 +28,7 @@ if [ "$1" = 'zammad-backup' ]; then
check_railsserver_available check_railsserver_available
while true; do while true; do
backup zammad_backup
# wait until next backup # wait until next backup
sleep ${BACKUP_SLEEP} sleep ${BACKUP_SLEEP}
@ -38,5 +38,5 @@ fi
if [ "$1" = 'zammad-backup-once' ]; then if [ "$1" = 'zammad-backup-once' ]; then
check_railsserver_available check_railsserver_available
backup zammad_backup
fi fi