The media set has 2 media families but only 1 are provided. All members must be provided.

 

ERROR MESAGGE:

“System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Smo)”

EXPLANATION:

You may encounter an error message when you want to restore a backup file.

You’re getting this error because you’ve taken a backup of the database to more than one file, and you only use one of these backup files when you restore the backup.

Example:

SOLUTION:

Use all backup files while you are restoring.

Example (According to the first example):

Ekrem Önsoy
Author: Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

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