gpt4 book ai didi

azure - Blob 不可写

转载 作者:行者123 更新时间:2023-12-02 07:27:27 24 4
gpt4 key购买 nike

当我尝试使用 azure rm 命令 (New-AzureRmSqlDatabaseExport) 进行 azure db 备份时,我面临以下问题

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 应用程序。

Note: The public access level of the contianer is blob. I also tried for container.

如果有解决此问题的方法,请告诉我。

最佳答案

我没有看到您的命令的凭据,请尝试以下命令的语法:

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 :

这应该可以解决您的问题。可以在此处找到该命令的完整语法: https://learn.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabaseexport?view=azurermps-5.7.0

关于azure - Blob 不可写,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49809232/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com