Error when made Backup Exit Code: 2(Misuse of shell builtins) /

Hello. Can’t made backup FreePBX
What can i do, to resolve this problemm ???

Thank’s ! !!!
Admin> Backup> Add Backup> Get name, all modules, shedule disable, storage-local, warm spare - disable > save. Open Job’s, start create job’s…

When create backup job, and start them, back message whif error:

Running with: /usr/sbin/fwconsole backup --backup=‘593d91a0-8303-4252-8398-ae4b289fb17c’ --transaction=‘8be53c79-322e-4267-87b3-6610b659b4aa’ >> /var/log/asterisk/backup_8be53c79-322e-4267-87b3-6610b659b4aa_out.log 2> /var/log/asterisk/backup_8be53c79-322e-4267-87b3-6610b659b4aa_err.log & echo $!
Running Backup ID: 593d91a0-8303-4252-8398-ae4b289fb17c
Transaction: 8be53c79-322e-4267-87b3-6610b659b4aa
Starting backup Backup.22.01.2020
This backup will be stored locally and is subject to maintenance settings
Backup File Name: 20200122-093955-1579675195-
Working with amd module
Exporting KVStore from Amd
Adding module manifest for amd
Working with announcement module
Adding module manifest for announcement
Working with arimanager module
Adding module manifest for arimanager
Working with backup module
Exporting KVStore from Backup
Adding module manifest for backup
Working with blacklist module
Exporting Feature Codes from blacklist
Adding module manifest for blacklist
Working with calendar module
Adding module manifest for calendar
Working with callback module
The module callback returned no data, No backup created
Working with callforward module
Exporting Feature Codes from callforward
Adding module manifest for callforward
Working with callrecording module
Exporting Advanced settings from callrecording
Adding module manifest for callrecording
Working with callwaiting module
Exporting Feature Codes from callwaiting
Adding module manifest for callwaiting
Working with cdr module

In Process.php line 239:

The command “/usr/bin/mysqldump --host localhost --user XXXXXX -pdXXXXXX
264b67ee496ac847e9bed791c18 asteriskcdrdb --opt --compact --table cdr --ski
p-lock-tables --skip-triggers --no-create-info > /tmp/dbdump/cdr.sql” faile

Exit Code: 2(Misuse of shell builtins)

Working directory: /var/www/html/admin

Hi @unnamediv
Yes, We have identified this as bug and raised to track this issue.

Issue has been fixed and pushed to edge so please test with the latest edge version of CDR module cdr v15.0.16 .

If you face any further issue, request you to please update to mentioned jira so we can take a look.

Thanks you
Philip J

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