BACKUP LOG DATABASE to DISK NUL

/*
 The below command will take the backup to disk NUL
 Dont confuse with NULL, whatever we have writtne below is correct NUL: is correct
 values only
*/
USE UserDatabaseName
go
BACKUP LOG UserDatabaseName TO DISK = 'NUL:'
WITH NO_COMPRESSION, STATS= 5


Comments

Popular posts from this blog

Always On FailOver Events

SSAS Cube or Database backup with Powershell command "Backup-AsDatabase"

Rule "Not Clustered o the Cluster Service is up and online. " FAILED, The machine is clustered but the cluster is not online.