Forum Discussion

Emort's avatar
Emort
Level 3
12 years ago

Restore SQL to file?

is it possible to restore a database out in a file, instead of direct to another Sql server?
  • SuperBrain's avatar
    12 years ago

    you can perform redirected restore and use "Use this path" option in the restore job properties (under redirected restore for SQL options)

    That option will help you restore the database to a specific location on disk. To use this option, enter a drive letter and its corresponding path. For example, C:\temp. You can also click the ellipsis button and browse to a disk location. All paths entered are maintained in the Use this path drop-down list, which can be used for future redirected database restore jobs.

    However, you cannot restore the .mdf .ldf files (as flat files)

    Alternatively you can perform a redirect restore of SQL databases with new name on same server\instance and get .mdf and .ldf)

    http://www.symantec.com/docs/TECH56694 - How to perform local and redirected restore of SQL 2000 & 2005 Databases with Backup Exec for Windows Servers (BEWS)

     

    You can try this:
    1. In the new restore job, Select the database to restore
    2. Go to Microsoft SQL Redirection
    3. Enter the destination SQL server name (same or different)
    4. leave instance blank (if restoring to same one)
    5. Type in a new name for database to restore
    6. Start the restore job