SQL SERVER – Creating Multiple Backup Files – Stripped

Multiple Backup Files can form one striped backup set. A customer wanted several files for a single database backup.

Two complementary cloth portions remain necessary for reassembly into one full-width frame.

Historical SSMS backup dialog with multiple disk destinations.
Historical SSMS backup dialog with multiple disk destinations.
-- New, unique output filenames on the SQL Server host:
-- BACKUP DATABASE [CollationTest] TO
-- DISK=N'D:\Data\CollationTest_part1.bak',
-- DISK=N'E:\Backup\CollationTest_part2.bak'
-- WITH CHECKSUM, STATS=10;
-- Restore requires all media families from that striped backup:
-- RESTORE DATABASE [RestoreTest] FROM
-- DISK=N'D:\Data\CollationTest_part1.bak',
-- DISK=N'E:\Backup\CollationTest_part2.bak'
-- WITH MOVE N'YourDataLogicalName' TO N'D:\RestoreTest\RestoreTest.mdf',
-- MOVE N'YourLogLogicalName' TO N'E:\RestoreTest\RestoreTest.ldf';

In SSMS, open Tasks, Back Up and review destinations. Multiple striped destinations are not separate full copies. Keep all required media families together. Supply them all for restore.

I previously wrote stripped and named one file backupcopy.bak. That naming could imply redundancy. Striping is different from mirroring or manually splitting an existing file. Distinct destination names make the example clearer.

Independent resources can improve throughput for a suitable workload. Two files on the same underlying disk don’t guarantee improvement. Use new destinations and preserve earlier sets. Test a restore with explicit safe paths.

Reference: Striped backup media families.

Related reading

A striped media family is not an independent full backup, it is one required part of the set.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.


Discover more from SQL Authority with Pinal Dave

Subscribe to get the latest posts sent to your email.

SQL Backup and Restore, SQL Server, SQL Server Management Studio
Previous Post
SQL SERVER – Availability Groups Can Propagate Database Compatibility Level
Next Post
Multiple Backup Copies Stripped – SQL in Sixty Seconds #156

Related Posts

3 Comments. Leave new

  • Dear Pinal, I consider name second file as “copy” inappropriate…it’s not a copy, it’s another part of the backup.

    Reply
  • Any chance there is a secret command when setting up multiple file backup in the Maintenance Plans so that the files would be unique like when doing single file backup? ( date and ID )

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.