Msg 3202, Level 16, State 1, Line 1
Write on "https://mystorage.blob.core.windows.net/mycontainer/TestDbBackupSetNumber2_0.bak" failed:
1117(The request could not be performed because of an I/O device error.)
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
SqlException 3284 occurred. Severity: 16 State: 5
Message Filemark on device 'https://mystorage.blob.core.windows.net/mycontainer/TestDbBackupSetNumber2_0.bak' is not aligned.
Reissue the Restore statement with the same block size used to create the backupset: '65536' looks like a possible value.
Backup to URL received an exception from the remote endpoint. Exception Message:
The remote server returned an error: (412) There is currently a lease on the blob and no lease ID was specified in the request.
プロキシ サーバーで、1 分あたりの接続数を制限する設定が使用されている場合があります。 Backup to URL プロセスはマルチスレッド プロセスであるため、この制限を超える可能性があります。 制限を超えた場合、プロキシ サーバーは接続を切断します。 この問題を解決するには、SQL Server でプロキシが使用されないようにプロキシ設定を変更します。 エラー ログに表示される可能性のある種類またはエラー メッセージの例を次に示します。
Write on "https://storageaccount.blob.core.windows.net/container/BackupAzurefile.bak" failed: Backup to URL received an exception from the remote endpoint. Exception Message: Unable to read data from the transport connection: The connection was closed.
A nonrecoverable I/O error occurred on file "https://storageaccount.blob.core.windows.net/container/BackupAzurefile.bak:" Error could not be gathered from Remote Endpoint.
Msg 3013, Level 16, State 1, Line 2
BACKUP DATABASE is terminating abnormally.
BackupIoRequest::ReportIoError: write failure on backup device https://storageaccount.blob.core.windows.net/container/BackupAzurefile.bak'. Operating system error Backup to URL received an exception from the remote endpoint. Exception Message: Unable to read data from the transport connection: The connection was closed.
ページ BLOB を使用する場合、トレース フラグ 3051 を使用して詳細ログを有効にすると、ログに次のメッセージが表示される場合もあります。HTTP status code 502, HTTP Status Message Proxy Error (The number of HTTP requests per minute exceeded the configured limit. Contact your ISA Server administrator.)
選択されていない既定のプロキシ設定:
場合によっては、既定の設定が選択されないことで、次のようなプロキシ認証エラーが発生します。
A nonrecoverable I/O error occurred on file "https://storageaccount.blob.core.windows.net/container/BackupAzurefile.bak:" Backup to URL received an exception from the remote endpoint. Exception Message: The remote server returned an error: (407)* **Proxy Authentication Required.
この問題を解決するには、次の手順に従って、Backup to URL プロセスで既定のプロキシ設定を使用できるようにするための構成ファイルを作成します。
次の xml コンテンツを使用して、BackuptoURL.exe.config という名前の構成ファイルを作成します。
例外メッセージ: リモート サーバーからエラーが返されました: (412) 現在 BLOB にリースがありますが、要求にリース ID が指定されていません。
Storage Explorer でサイズが 1 TB の BLOB を特定し、リースの中断、BLOB の削除、バックアップ操作の再試行を行います。
エラー: リモート サーバーがエラーを返しました: (403) 許可されていません。
ストレージ アカウント、資格情報、SAS トークンを再作成すると、問題が解決します。
SQL 2012 または 2014 では、1 TB データベースのバックアップが失敗します。
1 TB のバックアップは、SQL Server 2016 (13.x) より前のページ BLOB の既知の制限です。 T-SQL バックアップ ステートメントに "WITH COMPRESSION" 句を追加するか、SQL Server インスタンスを SQL Server 2016 (13.x) 以降のバージョンにアップグレードして、バックアップ圧縮を使用します。
エラー: Backup to URL received an exception from the remote endpoint (URL へのバックアップがリモート エンドポイントから例外を受け取りました)。 例外メッセージ: リモート サーバーからエラーが返されました: (416) 指定されたページ範囲は無効です。
これは、SQL Server 2012 (11.x) または SQL Server 2014 (12.x) を使用していて、バックアップ サイズが 1 TB に増加した場合に表示される可能性があります。 バックアップ ファイルをストライピングするか、バックアップ圧縮を使用して解決します。
ディスク IOPS または VM の制限に達したというエラーが発生している場合は、バックアップの速度が低下したり、失敗したりする可能性があります。 IOPS または VM の制限を監視するには、Azure Monitor メトリックを使用し、必要に応じて VM またはディスクのサイズを変更して問題を解決します。
リモート サーバーがエラーを返しました: (409) SQL Server 2012/2014 の競合"
階層型名前空間を持つストレージ アカウントは、ページ BLOB ではなくブロック BLOB 用に装備されています。 この機能のないストレージ アカウントは、SQL Server 2014 (12.x) の BACKUP TO URL には使用しないでください。