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

The transaction log for database is full due to 'OLDEST_PAGE'

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