Did you try running it from the /opt/mailcow-dockerized
directory as ./helper-scripts/backup_and_restore.sh backup all
?
Or as the full path to the script /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all
?
Did you edit the script?
Do you run the script as root or using sudo? - Either should work, but unlikely to work as a regular user.
Did you export MAILCOW_BACKUP_LOCATION="/your/backup/destination"
before running the script?
Are you checking the correct destination directory?
Incorrect permissions on the destination directory?
Insufficient space on the destination filesystem?
Which log are you consulting? Perhaps you can share it?