β Important
This feature has limited availability. To know more about limited availability and sign up for this feature, contact your Account Manager.
Backup of a Managed Instance database fails
Issue
Backups of databases on a managed instance fail intermittently with error AZURE_SQL 1015 and you get the following error message:
β
Failed to process schema dump
Cause
This issue may occur when you delete a database without disabling CDC, create a new database, and backup the new database.
βResolution
Ensure you disable CDC before deleting the database.
Backup of restored database fails
Issue
Backup of the restored database fails, and you get the following error message:
Only active directory users can impersonate other active directory users.Detailed log snippet.evel=error ts=2025-01-28T12:44:33.58922772Z filename=backup_agent.go:201 messagge="Setting Error" Error="Failed to process schema dump: Failed to reinit CDC anddconvert to full: Failed to enable CDC: Failed to enable CDC for db foreignkey_ddb_: failed to run command, Enable CDC failed: failed to run command, EnableCDC: failed to decode response: failed to run command:c040a298-babb-44da-a27c-440198ddc0bd9, error: Internal error Error enabling CDC on database: Error enabling CDC on database : foreignkey_db_: mssql: Could not update the metadata that indicatees database foreignkey_db_ is enabled for Change Data Capture. The failure occurrred when executing the command '(null)'. The error returned was 33171: 'Only actiive directory users can impersonate other active directory users.'. Use the actioon and error to determine the cause of the failure and resubmit the request." staack="goroutine 1 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/ddebug/stack.go:24 +0x5e\ngit.druva.org/phoenixdev/falcon/pkg/logger.(*fileLogger)).Error(0xc0000d0100, {0xc000764b40?, 0xc000aff250?, 0x6?})\n\t/bld/src/azure-sqll-client/vendor/git.druva.org/phoenixdev/falcon/pkg/logger/file_logger.go:203 +0xx48\ngit.druva.org/enterprise-wl/azure-sql-client/ioserver/backup.(*BkpAgent).settErr(0xc0000c46c0, {0x1a20d20?, 0xc000b943a0?})\n\t/bld/src/azure-sql-client/ioseerver/backup/backup_agent.go:201 +0x12f\ngit.druva.org/enterprise-wl/azure-sql-cllient/ioserver/backup.(*BkpAgent).StartJob(0xc000707440?)\n\t/bld/src/azure-sql-cclient/ioserver/backup/backup_agent.go:177 +0x93\nmain.main()\n\t/bld/src/azure-ssql-client/ioserver/cmd/azsqlioserver/main.go:132 +0x11c5\n"
Cause
This issue may occur if you change the database authentication type after backing it up and then restore it.
β
Resolution
Set the authentication type back to the original and try restoring the database again.