Handling split backups with Ola Hallengren script

The below mentioned query will used for split backups which is extracted from Ola Hallengren scripts.

@NumberOfFiles parameter will create mentioned files.

EXECUTE [dbo].[DatabaseBackup]
@Databases = 'ALL_DATABASES',
@Directory = 'N:\SQLBackups\' ,
@BackupType = 'FULL',
@Verify = 'Y',  
@CleanupTime = 168,
@CheckSum = 'Y',
@LogToTable = 'Y',
@compress='Y',
@NumberOfFiles=3

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"