Site icon Database Tutorials

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):

Exit mobile version