I hope to configure and use the SQL Server 2014 Managed Backup to Azure feature. I tested the manual backup of the T-SQL URL query and it worked. But backups created using Managed Backup for Azure feature do not complete.
The managed backup process leaves 0 bytes of backup files in the backup storage, and all of them are locked (active lease) due to an unsuccessful backup process. I am trying to understand what the problem is. My release of SQL Server 2014 is a web edition that does not seem to support compression. However, the SQL Server Management Studio dialog for configuring managed backup to Azure does not provide any compression options. So maybe he is trying to compress the backup file and fails? I donβt know how to see what SQL Server is actually trying to use, although it does an automatic backup on Azure. Does anyone have any idea?
I see the following errors in the event log ...
Date 10/1/2014 3:10:39 PM Log SQL Server (Current - 10/1/2014 2:42:00 PM) Source Backup Message BACKUP failed to complete the command BACKUP LOG CaseLaw. Check the backup application log for detailed messages.
Date 10/1/2014 3:12:01 PM Log SQL Server (Current - 10/1/2014 2:42:00 PM) Source spid71 Message Error: 18210, Severity: 16, State: 1.
Date 10/1/2014 3:12:01 PM Log SQL Server (Current - 10/1/2014 2:42:00 PM) Source spid71 Message BackupVirtualDeviceFile::DetermineFileSize: SetPosition(0,EOF) failure on backup device 'https://caselaw.blob.core.windows.net/sqldb01-mssqlserver/CaseLaw_d68e6c91feba4f7f891a66cb86fcce8d_20141001151038-05.log'. Operating system error Backup to URL received an exception from the remote endpoint. Exception Message: The remote server returned an error: (409) Conflict..
I canβt read the full 409 error message, so I donβt know what the actual 409 error is. According to MSDN, there are several possible 409 answers .
I struggled with this problem for several days. I tried to execute a manual scheduled task that runs my T-SQL query, which works, but I cannot automatically clear it after X days using this method. Any ideas? Thanks!
sql-server azure azure-storage azure-storage-blobs
Ryan
source share