Share via

App Service Backup Restore with MySQL DB always fails

Anonymous
2021-06-10T07:31:30.767+00:00

Hello Experts, i need some help with this error when i restore an Backup in my App Service. I always get this error:
Restore App Service App from Backup
Restore operation failed to restore a backup. Error Details: Database type information for the backup does not match. It was expected 1 settings, provided was 0.

The Backup says "Success" but in the logs i say this error:
Database backup logs: Sandbox error. Details: StdErr content Errors: mysqldump: [Warning] Using a password on the command line interface can be insecure.-- Connecting to appservice.......-- Starting transaction...-- Setting savepoint...-- Releasing savepoint...-- Disconnecting from appservice...

I've used the Wordpress from the Marketplace where i get 4 ressources: An app service, app service plan (S1), application insights and the Azure Database for MySQL server. I've tried a lot and created the ressources again but i cannot backup and restore my wordpress instance. I've also find some older articles about this problem but no solution right now.

Thanks a lot! :)

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ajay Kumar N 28,261 Reputation points Microsoft Employee Moderator
    2021-06-10T12:48:28.247+00:00

    @Anonymous , Thanks for posting this question.

    To better assist you on this, kindly let us know the following:

    Are you initiating the Restore from "App Backup" or Storage?
    Are you restoring the backup to overwrite the app (destination) or to a new (or existing) app?

    Typically, this error happens when the database info in a RestoreRequest doesn't match.

    Review the Connection String type from your WebApp’s “configuration’ Settings blade on the Azure Portal.
    104247-image.png

    On the App Service App, in the left navigation, click on Diagnose and solve problems and review Analyze Restore operations diagnostic.

    Also, review the database provider (from deploy)

    104150-image.png | 104283-image.png

    Kindly let us know how it goes, I'll follow-up with you further.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.