When running the MSTRBak-Client v1 or higher, you may encounter the following error and experience a stall in the mstrbak client process from taking a backup of the cloud environment.
Metadata is required to be backed up
[2020-02-19 12:58:36,769][INFO][env-xxxxxxlaioeuw1][MSTRBAK-BACKUP][creating response.json...] [2020-02-19 12:58:37,605][INFO][env-xxxxxxlaioeuw1][MSTRBAK-BACKUP][There is no installation of pigz. install pigz for faster performance...] [2020-02-19 12:58:37,606][INFO][env-xxxxxxlaioeuw1][MSTRBAK-BACKUP][starting backup...] [2020-02-19 12:58:37,612][INFO][env- xxxxxxlaioeuw1][MSTRBAK-BACKUP][starting metadata backup...] [2020-02-19 12:58:38,898][ERROR][env-170843laioeuw1][MSTRBAK-BACKUP][Metadata is required to be backed up]
This error is caused only when using the client in the default mode. In the default mode,
DBMigratoris used to get a SQL dump for both MySQL and Postgres and it requires
mysql-connector-java.8x.jar.If the version of the driver is lower than 8x, it will throw the error.
If you are backing up a 2019 environment and want to restore another 2019 environment, use the dump mode (-d flag).
Run it as:
./mstrbak -d
You should download the
mysql-connector-java-8.0.12.jarfile and place it anywhere.

Silent Mode
If you are using silent mode, update the key
mysqlin
driver-pathswith the MySQL connector driver path in the response file.
