Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Recover Lost or replaced database

Posted on by 450

I have got in a big trouble ! I was trying to restore a database in an empty one. I put the restore files in D directory of Windows, then create a new empty database and tried to restore that files in the new db. But It seems I restored that files in our original crm365 database ! Now in the data directory of MSSQL; the actual .mdf and .ldf files of CRM365 do not exist and in MSSQL Server, when I right click on CRM365 and go to the properties tab, it points to the files in D directory! Is there anyway to get them back? Can I use recovery utilities? I did not create a backup recently and last accessible backup is about 20 days left!

Any help will appreciated !

  • Abigail Profile Picture
    Abigail 550 on at
    RE: Recover Lost or replaced database

    The only solution is the backup that you have which is 20 days old.

    It'll help you to recover as much as is possible.

  • Albert_ Profile Picture
    Albert_ 450 on at
    RE: Recover Lost or replaced database

    Actually the DB Server is a VM and my backup is a snapshot of the VM !

    It seems I have to restore the VM.

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Recover Lost or replaced database

    Albert,

    That's what I meant. I'm afraid you lost data for those 20 days.

    Any chance you backed up your server if it is virtual?

  • Albert_ Profile Picture
    Albert_ 450 on at
    RE: Recover Lost or replaced database

    You mean there is no way?

    My backup is about 20 days left and it means 20 days of data has lost.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Recover Lost or replaced database

    Hello,

    I'm afraid that the backup you have is your best choice.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans