I'm trying to do a simple backup to an external disk and getting this error:
Backup failed for Server 'Server-name'
Additional information:
System.Data.SqlClient.SqlError: The media loaded on "C:\Program Files\Microsoft SQL.." is formatted to tsupport 1 media families, but 2 media families are expected according to the backup device specification. (Microsoft.SqlServer.Smo)`
Backup type: Full
Why am I getting this error and why is the message pointing to C:\Program Files..
if the destination file is an external device?
-
2Please show your backup command.Aaron Bertrand– Aaron Bertrand2012年08月31日 16:34:03 +00:00Commented Aug 31, 2012 at 16:34
-
3Most likely you added a second destination file by accident?Edward Dortland– Edward Dortland2012年08月31日 16:37:19 +00:00Commented Aug 31, 2012 at 16:37
2 Answers 2
This error means that you "striped" your backup across multiple files, and you're only providing one of the files when you're trying to restore.
If you're backing up using SQL Server Management Studio, make sure that you click "remove" to remove any existing backup destinations before you "add" the file you want to back up to.
To avoid above error, just replace your new backup location with listed backup locations. Means remove all old entry and add your new backup location. It will work.
-
You are correct, but this doesn't improve the existing answer.James Anderson– James Anderson2017年03月25日 11:24:38 +00:00Commented Mar 25, 2017 at 11:24