Skip to main content

Tips: How to use Partial Restore to recover the missing data in SQLServer 2008

In order to recover the missing or corrupted data, you can run a partial restore process to a new location. This will be one of the best options if you suspect that a part of a database is missing or corrupted. If you wish perform the partial restore, you can use the PARTIAL option with the RESTORE DATABASE statement in Transact-SQL. Moreover, you can restore the partial databases only at the filegroup level as the primary file and filegroup are always restored along with the files that you specify and their corresponding filegroups. Make sure that the files and the filegroups that aren’t restored will be marked as offline and they’ll not be accessible.

 How to carry out the restore and recovery process?
1. You can perform the partial database restore by giving the database a new name and location in the RESTORE DATABASE statement and use MOVE/TO to move the original database source files to new locations. For an instance:



RESTORE DATABASE new_custdb_partial

        FILEGROUP = 'Customers2'

        FROM DISK='g:\cust.dmp'

        WITH FILE=1,NORECOVERY,PARTIAL,

        MOVE 'cust' TO 'g:\cu2.pri',

        MOVE 'cust_log' TO 'g:\cu2.log',

        MOVE 'cust_data_2' TO 'g:\cu2.dat2'

GO


2. Now, you can extract any needed data from the partial restore.

3. Then, you can re-insert it into the database where it is deleted from.

B  y

Popular posts from this blog

New Micro battery, power packed for high performance

For a size of a few millimetres, the new micro-batteries are powerful enough to jump start a car battery and then quickly charge the cell phone. Researchers from the University of Illinois have developed the micro batteries which can be used to drive compact electronic devices and new applications for radio communications. The micro batteries are so good that they can even out power the super capacitors. The results were published in ‘Nature Communications’ in the April 16 issue. The micro batteries have energy and power and with the researchers tweaking the structure of the micro batteries a little bit, its use can be for wide range applications.

The high performance of the micro battery is based on its 3-dimensional micro-structure. Based on the design of fast charging cathode by Professor Paul Braun’s group, researchers developed the matching anode and integrated it with the fast charging cathode at a micro-scale and made a complete battery with high performance. These batteries cou…

Google Health Login Page is Ready!

Google's Marissa Mayer announced that the Google Health will be launched on 2008. The service of the
Google Health Login Page is ready. It's only the first intro page is displayed and I didn't get passed to the next page. In the same page y0u can see the information displaying on the Google Health. If you point your mouse on the below link you can visit the Google Health Page
https://www.google.com/accounts/ServiceLogin?service=health

With Google Health, you can:
* Build online health profiles that belong to you
* Download medical records from doctors and pharmacies
* Get personalized health guidance and relevant news
* Find qualified doctors and connect to time-saving services
* Share selected information with family or caregivers

This will be a nice development about caring health and this will helps in having some cautious about health.
Inspired

HTC Touch Diamond SmartPhone!

The phones design is an innovative in which the user has the geometric form language to make sure a clutter-free environment for screening content. The San Francisco based studio One & Co collaborated with HTC Taiwan Design team to create Diamond HTC smartphone.







The HTC phone is quite wonderful with design and the rapid development in the smartphone market the HTC has taken innovative steps to capture the SmartPhone market HTC develops these kind of new inventive designs.
Inspired