Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6022893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:55:28+00:00 2026-05-23T03:55:28+00:00

I have a backup of Database1 from a week ago. The backup is done

  • 0

I have a backup of Database1 from a week ago. The backup is done weekly in the scheduler and I get a .bak file. Now I want to fiddle with some data so I need to restore it to a different database – Database2.

I have seen this question: Restore SQL Server database in same pc with different name and the recommended step is to rename the original db, but I am out of that option as I am in the production server and I cant really do it.

Is there any other way of restoring it to Database2, or atleast, how do I browse through the data of that .bak file?

thanks.

ps: the second answer from the above link looked promising but it keeps terminating with error:

Restore Filelist is terminating abnormally

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:55:29+00:00Added an answer on May 23, 2026 at 3:55 am

    You can create a new db then use the "Restore Wizard" enabling the Overwrite option or:

    View the contents of the backup file:

    RESTORE FILELISTONLY FROM DISK='c:\your.bak'
    

    note the logical names of the .mdf & .ldf from the results, then:

    RESTORE DATABASE MyTempCopy FROM DISK='c:\your.bak'
    WITH 
       MOVE 'LogicalNameForTheMDF' TO 'c:\MyTempCopy.mdf',
       MOVE 'LogicalNameForTheLDF' TO 'c:\MyTempCopy_log.ldf'
    

    This will create the database MyTempCopy with the contents of your.bak.

    (Don’t create the MyTempCopy, it’s created during the restore)


    Example (restores a backup of a db called ‘creditline’ to ‘MyTempCopy’):

    RESTORE FILELISTONLY FROM DISK='e:\mssql\backup\creditline.bak'
    
    >LogicalName
    >--------------
    >CreditLine
    >CreditLine_log
    
    RESTORE DATABASE MyTempCopy FROM DISK='e:\mssql\backup\creditline.bak'
    WITH 
       MOVE 'CreditLine' TO 'e:\mssql\MyTempCopy.mdf',
       MOVE 'CreditLine_log' TO 'e:\mssql\MyTempCopy_log.ldf'
    
    >RESTORE DATABASE successfully processed 186 pages in 0.010 seconds (144.970 MB/sec).
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have: SQL Server 2008 Database Name: database1 I had taken backup from database1
I have a backup from database in SQL Server 2008 R2. When I want
I have a backup from a WAMP server MYSQL database from home and I
I have restored a database from a backup onto a new server, and I
I have a database backup running hourly between 7am and 7pm everyday, each file
I have exported a full backup of a database with HeidiSQL 7. Now when
I want to backup a SQL Server database with C#. I have written a
I have taken a backup from a database(Sql server 2008 R2).But in machine i
I have to get a backup of my database everyday and I use mysql
I am trying to restore a database (from file thedb.bak ). I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.