Home » sql server » Learn How to Restore SQL Database with Different Name

Learn How to Restore SQL Database with Different Name

author
Published By Ashwani Tiwari
Aswin Vijayan
Approved By Aswin Vijayan
Published On April 21st, 2022
Reading Time 4 Minutes Reading
Category sql server

SQL users often find themselves in a critical situation, when they are in a need to restore SQL databases with a different name. Though the query is common, its solution cannot be considered common knowledge. Only a few people know how to do that, while others keep searching for a reliable method when the necessity arises. Considering the lack of knowledge among SQL users in general about this issue, this write-up will focus on this matter. Continue reading this post to learn how to restore a database to the SQL server with a different name. First, we will clarify the meaning of this particular query.

What Does “Restore SQL Database with Different Name” Mean?

According to the common understanding, restoring a SQL database means restoring from a backup copy. This has to be performed if some severe corruption occurs in the database. The only manual way to get back the database items is to restore the last known good backup. However, the time has changed and many advanced technologies have been introduced. Now, SQL Server users do not have to restore the database from the last full backup. SQL Database Repair Tool offers removal of all types of corruption from the database and restores the actual database itself without losing any data. It also lets you perform the restoration with a different name.

Download Now Purchase Now

How to Restore SQL Database with Different Name Using SQL Recovery tool?

In case you are wondering how to restore SQL Server Database with a new name, here is the guideline. Following the instructions of this segment, users can easily gather complete knowledge about this approach. Let’s not waste our time any more and move straight to the guide.

Restore SQL Database with Different Name Using SQL Recovery software:

1. Download and install the software. Then launch it on your system.

launch-too

2. Click on the Open button to add the MDF file you have to restore with a new name.

add-database
3. If the database is suffering from a high level of corruption, select Advanced Scan. Check Auto detect version option if you do not know the SQL version.

scan-mode
4.  You can also select the version manually, but do it only if you are confirmed about the version. Click on the OK button.

choose-server-version
5. Click on the NDF Option tab situated on the same page. Select the first option to make the software detect the NDF files by itself.

Choose-ndf
6. Choose the second option to add the NDF files manually. For that, you can choose either Add Files or Add Folder button. Then click on OK.

Choose-ndf

Initiating the Scanning Process

7. The application will scan the whole MDF file.

click-close
8. When scanning is done, users will get prompted for saving the scanned file.If you click on Yes, the scanning result will be saved in .str format.
save-scanned-file
10. Now, The program will display all items of the MDF and NDF files for previewing. The items will include all damaged and corrupt files. The preview will include views, tables, triggers, stored procedures, etc.

Preview data
11. On the left panel, all the recovered SQL database components will be displayed in a tree structure format. Select on Export button.

Click-on-export
12. On the next page, select SQL Server Database as output format.

restore-sql-database-with-different-name
13. For Database Authentication, enter Server Name and Authentication mode. If you choose SQL Server Authentication, add the Name and Credentials of SQL Server.

Restore-sql-database14. Now, choose to Create New Database and add a different name for the database as per your choice.

chose-destination-database

15. The default collection settings will be shown. If users want, they can change it by choosing from the drop-down list.

enter-new-name
16. Finally, now choose the database items you wish to restore from the left side. On the right, choose ‘Schema and data’ option. Then, click on Export.

restore-sql-database-with-different-name
17. Export Completed message will pop up upon the completion of restoring process of SQL database with a different name. Click OK.


18. If users want, they can save the export report generated by the tool.

restore-sql-database

Concluding Thoughts

For the users who need to know how to restore SQL Database with different names, here is the solution. It is evident from the discussion that SQL Recovery Tool is the only viable option. It allows users to restore the damaged or corrupt database to a healthy state. Now that you have gained complete knowledge about this process, we expect you to apply this approach whenever deemed using the software.

offer-banner