How to Recover SQL Server Database

Now fix entire corrupted SQL MDF database files and recovers maximum possible data from SQL Server database by following this process described below.

STEP 1

Open & Launch the SQL Server Recovery Manager Tool. Click Start » SQL Server Recovery Manager Tool » Launch SysTools SQL Server Recovery Manager Software.Click "Recover Data from Corrupt SQL Server Database".

recover-data-corrupt-sql-server
STEP 2

Click on Open option to start the process of adding MDF file in application:

open-mdf-file
STEP 3

After clicking on the Browse button choose the MDF file and click on Open button to load the file on software.

open-contact-file
STEP 4

Now You have two tabs (Quick Scan and Advance Scan)for recovering both MDF file as well as NDF Files.

scan-mode

Check the Auto detect option, if you want to detect the MDF file version automatically. You can also select the Server version of your MDF file manually.

scan-mode

User can choose Advance Scan for highly corrupted database files. Also check Recover Deleted Objects option to recover deleted database items.

scan-mode
STEP 5

Select the second tab i.e. NDF Options. Click Add Files option to recover the NDF Files. After adding file click on OK button:
Important Note: The NDF file must be associated with the MDF file i.e. Primary database.

ndf-options
STEP 6

Now select the detected NDF file i.e. secondary file of SQL server. Click Ok:

selected-ndf-file
STEP 7

Software shows the summarized details of selected MDF files and the automatic scanning of the MDF files from SQL Server database take place.

scanning-process-completed
STEP 8

You can also save the MDF file in .str file. If you want to save STR file then click on Yes otherwise click on No and move on to second step.

save-the-scanned-mdf-file
STEP 9

Select the location for saving .str file. Click Save:

save-str-file
STEP 10

Preview recovered database of MDF and NDF files: software will show the entire database of repaired MDF and NDF files such as tables, triggers, stored procedures and views etc.
User can also preview the deleted database components like Tables, Views, Stored Procedures, Functions, etc.

preview-of-recovered-mdf
STEP 11

Now you need to click on Export button to export the recovered database:

export-recovered-mdf-file
STEP 12

You can export the recovered database as MDF, SQL Server compatible scripts and CSV. Choose the saving option among: SQL Server Database, SQL Server compatible scripts, and CSV File Format.

export-option
STEP 13

Software will fetch the available Server names by clicking on drop down arrow. If you are using Windows Server Authentication then no need to provide User Name & Password.

Note: Enter the SQL Server Name and If you are using Windows Server Authentication then no need to provide User Name & Password and if you are using SQL Server Authentication then provide the credentials for same.


database-credential

Choose Create New Database option to export repaired data on it and choose Export to Existing Database option to the repair data on an existing database.

destination-database

Choose desired database components to export and check the Recovered Deleted Objects box to export the deleted objects like Tables, Views, Functions, Stored Procedures, etc.

Export-data
STEP 14

The .sql file will get created if you export & save the file as SQL Server Compatible SQL Script mode.

sql-server-compatible-script
STEP 15

Now check the desired component of database to export.

export-selected-tables
STEP 16

Choose from option either you want to export the MDF file with only schema or with schema & Data.

export-schema
STEP 17

You can check the Export Deleted Objects if you want deleted records and other database objects to be exported and click on Save for export process.

export-deleted-records
STEP 18

Browse location for saving SQL file. Click OK:

select-destination-location
STEP 19

After the completion of the recovery process, software will prompts the completion process as follows. Click Close:

script-saved
STEP 20

Click Close when export process is complete.

export-completed
STEP 21

If you want to save recovered data into .csv file then choose CSV File Format option.

csv-file-format
STEP 22

Now check the desired database tables to export.

export-selected-tables
STEP 23

Choose from option either you want to export the MDF file with only schema or with schema & Data.

export-schema
STEP 24

You can check the Export Deleted Objects if you want deleted Records and Database Tables to be exported and click on Save for export process.

export-deleted-records
STEP 25

Browse location for saving CSV file. And click OK:

select-destination-location
STEP 26

After the completion of the process, software will prompts the completion process as follows. Click OK:

csv-saved
STEP 27

Click Close when the process is completed.

export-completed
STEP 28

Navigate the Location where you saved recovered SQL Server Database.

recovered-mdf-file

Free Download SQL Server Recovery Manager Tool Download Now