Restore is not loading complete cdr

Upgrade from FreePBX 13 to 17. CDR db size - 7,4 GB.

/usr/sbin/fwconsole backup --restore=‘/var/spool/asterisk/backup/uploads/20-xxx.tgz’

Determining backup file type...type is legacy
Legacy CDR Restore Option: 0 
Starting restore job with file: /var/spool/asterisk/backup/uploads/20-xxx.tgz
Extracting backup...
Loading manifest to memory
Parsing out SQL tables. This may take a moment depending on backup size.
Found 1 database files in the backup.
File named: /tmp/backup/11e6d8b0-59e9-4899-a585-e5326685dc5d/mysql-4.sql.gz
Restore completed successfully

/tmp/backup# gunzip < /tmp/backup/11e6d8b0-59e9-4899-a585-e5326685dc5d/mysql-4.sql.gz | pv --bytes --eta --progress | mysql -u UserName -pPassword asteriskcdrdb

Result: The database has been copied. But maybe additional processing should have been performed there?