Bug #92144 Unnable to restore a database with mysqlbackup 8.0.12
Submitted: 23 Aug 2018 9:55 Modified: 23 Aug 2018 10:52
Reporter: Christophe Allain Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S1 (Critical)
Version:8.0.12 OS:Microsoft Windows (10)
Assigned to: CPU Architecture:x86 (i7)
Tags: restore

[23 Aug 2018 9:55] Christophe Allain
Description:
try to restore a database in 8.0.12 

the backup will be done in 5.7.17
want to restore in 8.0.12 server with mysqlbackup 8.0.12

pb of server_version but not documentation concerning this error:

screen shot after :
C:\Program Files (x86)\Itron\ACE Vision\MySQL\bin\backup>mysqlbackup.exe  --defaults-file="C:\Program Files (x86)\Itron\ACE Vision\MySQL\my.ini"  --backup-dir="c:\programdata\itron\acevision\backup\backup_tmp" --uncompress --force=true copy-back-and-apply-log
MySQL Enterprise Backup version 8.0.12 Windows-10.0.14393-AMD64 [2018-06-28  17:23:27]
Copyright (c) 2003, 2018, Oracle and/or its affiliates. All Rights Reserved.

180823 11:48:37 MAIN    INFO: A thread created with Id '12504'
180823 11:48:37 MAIN    INFO: Starting with following command line ...
 mysqlbackup.exe
        --defaults-file=C:\Program Files (x86)\Itron\ACE Vision\MySQL\my.ini
        --backup-dir=c:\programdata\itron\acevision\backup\backup_tmp
        --uncompress --force=true copy-back-and-apply-log

180823 11:48:37 MAIN    INFO:
IMPORTANT: Please check that mysqlbackup run completes successfully.
           At the end of a successful 'copy-back-and-apply-log' run mysqlbackup
           prints "mysqlbackup completed OK!".

180823 11:48:37 MAIN ERROR: Server_version is not obtained.

mysqlbackup failed with errors!

How to repeat:
launch the command again
[23 Aug 2018 10:52] Umesh Shastry
Hello Christophe,

Thank you for the report.
Looking at the "MySQL Server-Tool Compatibility" at https://dev.mysql.com/doc/mysql-compat-matrix/en/ it seems to me that what you are trying to accomplish is unsupported operation.

i.e MySQL Enterprise Backup 8.0.12 is incompatible with earlier MySQL Enterprise Backup versions—it does not work with backups created with them.

More details here https://dev.mysql.com/doc/mysql-enterprise-backup/8.0/en/meb-legacy.html

regards,
Umesh