I'm managing AG of 4 nodes in AZ VMs. SQL Server version is 2016 CU19, largest DB is ~2 TB.
Right now we are using Ola Hallengren's scripts with options as below:
@MaxTransferSize = 4194304
@NumberOfFiles = 5 (or 10)
And backing up to blob storage ZRS. We decided to move from ZRS to RAGZRS and there begins a problem.
It seems that the the storage is not supporting MAXTRANSFERSIZE, stripped backups and BLOCKSIZE backup options. Backup with single file without the above options, works. unfortunately, with one file - no backup stripping, VLDB will not work - there is blob storage limitation.
One more point, there is an option to connect to Azure container using SSMS. unfortunately, attempt to connect to this RAGZRS container, ends up with the connection windows is disappearing.
what is the problem with the blob storage RAGZRS?
Here are the exceptions I received while attempting to test. there is direct correlation to each attempt explained above.
Script used:
BACKUP DATABASE [DB] TO
URL = N'https://container.blob.core.windows.net/sqlbackups/FULL_20210205_160556_1.bak'
URL = N'https://container.blob.core.windows.net/sqlbackups/FULL_20210205_160556_2.bak',
URL = N'https://container.blob.core.windows.net/sqlbackups/FULL_20210205_160556_3.bak',
URL = N'https://container.blob.core.windows.net/sqlbackups/FULL_20210205_160556_4.bak',
URL = N'https://container.blob.core.windows.net/sqlbackups/FULL_20210205_160556_5.bak'
WITH CHECKSUM, COMPRESSION, FORMAT, MAXTRANSFERSIZE = 4194304, CREDENTIAL = 'DBBACKUPCRED02'
I'm getting these errors as below
while attempting to run stripped backup:
Msg 3294, Level 16, State 1, Line 1
Use of the URL device type is limited to a single device during Backup and Restore operations.
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
while attempting to run with BLOCKSIZE option:
Msg 3291, Level 16, State 2, Line 1
URL device type was specified, and a disallowed option BLOCKSIZE was specified.
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
while attempting to run with MAXTRANSFERSIZE option:
Msg 3291, Level 16, State 3, Line 1
URL device type was specified, and a disallowed option MAXTRANSFERSIZE was specified.
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.