Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / DB Refresh Tier 1 to T...
Finance forum
Answered

DB Refresh Tier 1 to Tier 1

Posted on by
Hi,
we have created two Tier1 environments for the below purpose
  1. Golden Environemnt--(we have manually imported/configured the configuration data,migrataion,setup data except transactional data)
  2.  Preprod/SIT --(Once golden environement is configured as said in the first step, we would like to take the backup of goldenenvironment db and restore in this environment and would like test by doing some transactions but restore is failing)
 
USE [master]
RESTORE DATABASE [AxDB] FROM  DISK = N'J:\MSSQL_BACKUP\backup_from_goldenenvironment\AxDB30092024.bak' WITH  FILE = 1,  NOUNLOAD,  STATS = 5
GO
Msg 3154, Level 16, State 4, Line 2
The backup set holds a backup of a database other than the existing 'AxDB' database.
Msg 3013, Level 16, State 1, Line 2
RESTORE DATABASE is terminating abnormally.
Completion time: 2024-09-30T13:02:43.4079113+00:00
 
Am i doing the right steps,could you please comment on this?
 
Thanks
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 228,366 Most Valuable Professional on at
    DB Refresh Tier 1 to Tier 1
    You're missing WITH REPLACE option.
     
    (Moved from D365 general forum.)

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,462 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,366 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans