How to create backup to multiple disk files


By using Ms SQL Server any edition you can  create a full backup to multiple disk file, which is the best solution. In a steps of one Job you can do it by using this Transact SQL, as it follows:

BACKUP DATABASE HealthInsuKS

TO DISK =  ‘C:\HealthInsuKS_1.BAK’ ,

DISK = ‘D:\HealthInsuKS_2.BAK’ ,

DISK = ‘E:\HealthInsuKS_3.BAK’ ,

GO

This T-SQL uses the DISK option multiple times to write to three equally sized smaller files.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: