web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to Create a New Test Database for Nav in SQL Server 2008 R2

(0) ShareShare
ReportReport
Posted on by

I created a New Database in SQL Server 2008 R2  for Creating a  Test in Environment for MS Dynamics NAV in the same SQL Server where our Live Database  exists. The idea is that I want to restore the Live Backup Data to the Test Database. My Question is Can I safely restore the Live Data to Test Database?  I am getting the error " the backup set holds a backup of other a database other than the existing" when I try to restore it. And how safe it is to use the Restore with Replace Option because I don't want to alter the LIVE Database in any case.

Thank you,

*This post is locked for comments

I have the same question (0)
  • mmv Profile Picture
    11,471 on at

    Hi,

    It means that you have created a database and trying to restore the backup to that database.  Instead, try to restore the backup with a new database name.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,001 Super User 2025 Season 2 on at

    Also check the backup file names like mdf and ldf are different to Live file names.

  • Community Member Profile Picture
    on at

    Those files you mentioned are  the same as the live , I checked them on Options Tab of the Properties. So do have to change them? And The Test Database Name is different from the Live.

    Thanks

  • mmv Profile Picture
    11,471 on at

    Hi,

    Did you create the test db before you could restore?

  • Suggested answer
    Mohana Yadav Profile Picture
    61,001 Super User 2025 Season 2 on at

    Yes please. add test at the end etc.

  • Community Member Profile Picture
    on at

    Hi Mahesh,

    Yes , I created the test DB first and I try to restore the bkp of the live data from disk.

  • Verified answer
    mmv Profile Picture
    11,471 on at

    Hi,

    Don't create the DB first.  Just try to restore with a new db name.  (you have an option to put the db name.  Please enter a new name and proceed).

  • Suggested answer
    Community Member Profile Picture
    on at

    You need to be very careful, when you are planning to setup the test environment in the same live machine.

    It is not advisable at all, as you might end up restoring the Test DB on live database, if you are not well versed with the SQL database & files..

    Better you look for any other machine and plan for the required development or test environment setup there.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans