Blob无法写入 [英] Blob is not writeable
问题描述
当我尝试使用azure rm command
(New-AzureRmSqlDatabaseExport)进行azure数据库备份时,我面临以下问题
When I am trying to take azure db backup using azure rm command
(New-AzureRmSqlDatabaseExport), I am facing the below issue
Error encountered during the service operation. Blob https://XXXXXXXXXX.blob.core.windows.net/XXXXX-container/ABC.bacpacklj1234klj12l3k4jl2k34jl2k3j4lk23j4l12k34jlk23j4lk23lk4j234A8i3t1GAs4Tvx2wjQRf7nTi/fM0+v7o7SWuUTU6WpRwO2SM0w== is not writeable. The remote server returned an error: (404) Not Found. The remote server returned an error: (404) Not Found.
但是通过使用相同的容器,我可以使用New-AzureRmWebAppBackup命令对Web应用程序进行备份.
But by using the same container I am able to take backup of web app using New-AzureRmWebAppBackup command.
注意:容器的公共访问级别为blob.我也尝试过使用容器.
Note: The public access level of the contianer is blob. I also tried for container.
请告诉我任何解决此问题的方法.
Please let me know any have a solution for this issue.
推荐答案
我没有看到您命令的凭据,请尝试以下命令语法:
I didn't see the credentials to your command, try the following syntax of the command is as follows:
New-AzureRmSqlDatabaseExport -ResourceGroupName "RG01" -ServerName "Server01" -DatabaseName "Database01" -StorageKeyType "StorageAccessKey" -StorageKey "StorageKey01" -StorageUri "http://account01.blob.core.contoso.net/bacpacs/database01.bacpac" -AdministratorLogin "User" -AdministratorLoginPassword "secure password"
ResourceGroupName : RG01
ServerName : Server01
DatabaseName : Database01
StorageKeyType : StorageAccessKey
StorageKey :
StorageUri : http://account01.blob.core.contoso.net/bacpacs/database01.bacpac
AdministratorLogin : User
AdministratorLoginPassword :
AuthenticationType : None
OperationStatusLink : https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource01/providers/Microsoft.Sql/servers/server01/databases/database01/importExportOperationResults/00000000-00
0-0000-0000-000000000000?api-version=2014-04-01
Status : InProgress
ErrorMessage :
This should fix your issue.Full syntax of the command can be found here:https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabaseexport?view=azurermps-5.7.0
这篇关于Blob无法写入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!