Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BackupRestoreBase.BlockSize Property

Gets or sets the physical block size of the backup or restore, in bytes.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
function get BlockSize () : int 
function set BlockSize (value : int)

Property Value

Type: System.Int32
An Int32 value that specifies the block size in bytes.

The supported sizes are 512, 1024, 2048, 4096, 8192, 16384, 32768, and 65536 (64 KB) bytes. The default is 65536 for tape devices and 512 otherwise. Backup automatically selects the default for the device.

If you are taking a backup that you plan to copy onto and restore from a CD-ROM, specify BLOCKSIZE=2048.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.