[英]How can I create a new database from a backup of another database, keeping the original in tact?
I am using SQL Server Express 2008, and I would like to create a completely new database using the backup of another database, but I don't want to overwrite the original database or change it's name. 我正在使用SQL Server Express 2008,我想使用另一个数据库的备份创建一个全新的数据库,但我不想覆盖原始数据库或更改它的名称。 I have read this post: Creating new database from a backup of another Database on the same server?
我读过这篇文章: 在同一台服务器上从另一个数据库的备份创建新数据库? but have researched the suggestion and it appears to replace the original database which I don't want to do.
但已经研究了这个建议,它似乎取代了我不想做的原始数据库。
Thanks. 谢谢。
when you restore the database you have the possibility to write a name, you are not forced to restore on an existing database. 当您还原数据库时,您可以编写名称,您不必在现有数据库上进行还原。 You can change the name of the file too....
您也可以更改文件的名称....
If you have special rules, you can still create an empty database then restore your database on that empty one. 如果您有特殊规则,您仍然可以创建一个空数据库,然后在该空数据库上恢复数据库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.