Upgrade Asterisk Version from 1.8.25.0 to newest version

Here are my logs:

I tried the restore and nothing happened:

Running with: /usr/sbin/fwconsole backup --restore=’/var/spool/asterisk/backup/uploads/20200212-082937-1581521377-895055246.tgz’ --transaction=‘93903291-1bc5-428b-afd6-79b7d49013e0’
Determining backup file type…type is legacy
Legacy CDR Restore Option: 0
Starting restore job with file: /var/spool/asterisk/backup/uploads/20200212-082937-1581521377-895055246.tgz
Extracting backup…
Backup extracted to /tmp/backup/93903291-1bc5-428b-afd6-79b7d49013e0. These files will remain until a new restore is run or until cleaned manually.
Loading manifest to memory
Loading astdb to memory
Parsing out SQL tables. This may take a moment depending on backup size.
Found 2 database files in the backup.
File named: /tmp/backup/93903291-1bc5-428b-afd6-79b7d49013e0/mysql-3.sql
Detected file /tmp/backup/93903291-1bc5-428b-afd6-79b7d49013e0/mysql-3.sql as the PBX (Asterisk) database. Attempting restore
Loading supplied database file mysql-3
SQLSTATE[HY000]: General error: 1 near “COMMENT”: syntax error