Zammad backup - functions: Syntax error: "(" unexpected

  • Used Zammad version: 5.3.0-1669364938.83ce4433.bullseye
  • Used Zammad installation type: package
  • Operating system: Debian 11
  • Browser + version: Chrome 107.0.5304.107 (Official Build) (64-bit)

Expected behavior:

$ sudo sh

Actual behavior: 6: /opt/zammad/contrib/backup/functions: Syntax error: “(” unexpected

Steps to reproduce the behavior:

Not sure what else to try.

My config file is this:
#!/usr/bin/env bash

zammad backup script config


Are you sure you’re using a bash console?
The complaint line is this one:

It’s the correct syntax and works just as expected.

I’m newer to Linux and realized I didn’t execute the script properly.

I was able to run the script and get a successful backup!

Thank yoU!

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.