Restoring/Backup failed

  • Used Zammad version: 5.4.1
  • Used Zammad installation type: docker-compose
  • Operating system: Ubuntu 22.04

Expected behavior:

  • create a backup with zammad_backup.sh to switch to new system

Actual behavior:

When i try to backup the Script runs abount an hour and after that the following error message appears:

/opt/zammad/contrib/backup/functions: line 199: pg_dump: command not found
Ensuring dump permissions …
chmod: cannot access ‘/var/tmp/zammad_backup/20250130131250_zammad_db.psql.gz’: No such file or directory

Steps to reproduce the behavior:

run ./zammad_backup.sh with root or zammad user in my docker-compose container

Did someone else had this Problem?

Your Zammad version is extremely outdated.
We’re at 6.4.1 and had several security releases since then.

Thanks for the fast reply.
I know thats the reason for the backup.
I want to create a new Instance on a new server but need the Database and stored attachments…

A simple upgrade to the next major version didnt work either