As of v7.0 database credentials are stored in data/config-internal.php (it used to be in config.php). If your backup scripts reads config.php to get database credentials you need to fix it to read config-internal.php.
New script: https://raw.githubusercontent.com/es...ipts/backup.sh
New script: https://raw.githubusercontent.com/es...ipts/backup.sh