[TroubleShooting]'trn\bak' is incorrectly formed. SQL Server cannot process this media family.
2015-12-13 10:12
423 查看
SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on Machine A on another instance of SQL
Server running on machine B.
If you try to restore the same backup on same instance on the machine A, restore completes successfully without any issues but it always fails when you try to restore the database from same backup file on any other instance on a different host.
Use SQL:
RESTORE
LOG dbName
FROM
DISK
=
'D:\Hot backup\dbName.trn'
WITH
FILE
=
2,
NORECOVERY
The restore always fails with the below message:
The restore fails with the message similar to
“The media family on device ‘C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\myDB.trn'
is incorrectly formed. SQL Server cannot process this media family”.
Please try to remove 'FILE
=
2,' it can work on
my side.
SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on Machine A on another instance of SQL
Server running on machine B.
If you try to restore the same backup on same instance on the machine A, restore completes successfully without any issues but it always fails when you try to restore the database from same backup file on any other instance on a different host.
Use SQL:
RESTORE
LOG dbName
FROM
DISK
=
'D:\Hot backup\dbName.trn'
WITH
FILE
=
2,
NORECOVERY
The restore always fails with the below message:
The restore fails with the message similar to
“The media family on device ‘C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\myDB.trn'
is incorrectly formed. SQL Server cannot process this media family”.
Please try to remove 'FILE
=
2,' it can work on
my side.
相关文章推荐
- C#学习笔记——连接sqlserver数据库
- zhphp framework(二十五) mongodb 类
- Oracle数据库的备份与恢复
- 探究rh6上mysql5.6的主从、半同步、GTID多线程、SSL认证主从复制
- mongodb数据安装
- iOS下数据库的简单理解
- memcache安装
- mongoDB备份恢复数据库
- CMAKE MYSQL
- Mysql数据导入测试
- 数据库的简单介绍
- SQL Server Database 维护计划创建一个完整的备份策略
- 经典SQL语句使用方法大全(自留用)
- mysql5.5的安装
- mysqladmin: connect to server at 'localhost' failed初始化密码时的错误处理
- Oracle查询重复数据并删除,只保留一条记录
- mysql 乱码问题的捣鼓
- 搭建高可用MongoDB集群——副本集部署 推荐
- Centos6 安装 Redis
- Nodejs学习笔记(四)——支持Mongodb