Get Error when restoring database in Sql Server 2008 R2
2013-10-04 18:49
405 查看
When I restored a database I got an error: “The backup set holds a backup of a database other than the existing database”. I was every confused because I have done this operation many times. It never got error before.
When you encounter strange error, it’s the chance to learn new knowledge. So I search on the internet and find the solution.
In the past times, I restored database with several steps:
1. Created a new database with a name;
2. Selected the database and restored from device;
3. Selected the backup file in your computer;
4. Selected “Overwrite the existing database”;
5. Clicked “Ok” and it would be restored successfully;
But now I can’t restore successfully with the same steps’ change some steps as follows:
1. Select “Databases” and select restored database in the right menu; (You don’t need to create a new database)
2. Select “Restore from device” and find the backup file in your computer.
3. Input your database name on the textbox left behind “To database” label;(See the follow picture)
4. Clicked “Ok” and it would be restored successfully;
These two ways seem have no different, but when I use the second way, the error doesn’t reappear. I still don’t know why, if someone know the true reason, please tell me.
When you encounter strange error, it’s the chance to learn new knowledge. So I search on the internet and find the solution.
In the past times, I restored database with several steps:
1. Created a new database with a name;
2. Selected the database and restored from device;
3. Selected the backup file in your computer;
4. Selected “Overwrite the existing database”;
5. Clicked “Ok” and it would be restored successfully;
But now I can’t restore successfully with the same steps’ change some steps as follows:
1. Select “Databases” and select restored database in the right menu; (You don’t need to create a new database)
2. Select “Restore from device” and find the backup file in your computer.
3. Input your database name on the textbox left behind “To database” label;(See the follow picture)
4. Clicked “Ok” and it would be restored successfully;
These two ways seem have no different, but when I use the second way, the error doesn’t reappear. I still don’t know why, if someone know the true reason, please tell me.
相关文章推荐
- Database cannot be started in this edition of SQL Server" error when restoring a Microsoft Dynamics CRM database
- Reporting Services Catalog Database File Existence" error during installing SQL Server 2008 R2
- "Reporting Services Catalog Database File Existence" error during installing SQL Server 2008 R2
- Error message when you try to save a table in SQL Server 2008: "Saving changes is not permitted"
- "Reporting Services Catalog Database File Existence" error during installing SQL Server 2008 R2
- DBCC大全集之(适用版本MS SQLServer 2008 R2)----DBCC SHRINKDATABASE收缩指定数据库中的数据文件和日志文件的大小
- TFS Project error in SQL Server 2005 after installing SQL Server 2008
- Configure Windows Firewall for SQL Server 2008 Analysis Services in Windows Server 2008 R2
- 转载:Character data is represented incorrectly when the code page of the client computer differs from the code page of the database in SQL Server 2005
- Utility Control Points in SQL Server 2008 R2
- [转]Database Mirroring Log Compression in SQL Server 2008 Improves Throughput
- Error during the installation of SQL Server 2008 R2
- Database Mirroring in SQL Server 2008
- Create maintenance backup plan in SQL Server 2008 R2 using the wizard
- Database Mirroring in SQL Server 2008
- Win7 64位 + SQL 2008 R2下Attach Database的一个错误:Operating system error 5
- Database Mail set up in SQL Server 2008
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- After restoring database in SQL Server, if you can't use diagram, execute these sentences
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio