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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 Rollback Upgrade Steps

(0) ShareShare
ReportReport
Posted on by 201

I would like some advice on what steps to take to rollback an AX2012 upgrade at various stages.  For example, if I want to rerun the dataupgrade from the beginning, what steps should I take?  Which databases would need to be restored?  

*This post is locked for comments

I have the same question (0)
  • Tommy Skaue Profile Picture
    Microsoft Employee on at

    Upgrade from what? Pre-AX2012?

  • lispyj Profile Picture
    201 on at

    I am doing a source to target upgrade from AX2009 to ax2012 R2.  It may be that there are no 'general' answers, but I just haven't seen much discussion about how to do it.  For example, at one point, my dataupgrade batch on the target system got completely hung up.  A 1 minute task was stuck executing for days.  I figured out the problem, and then wanted to clear all of the imported data and start over, while preserving the upgraded code.  Can that be done?  For another example, how would I roll back from a layer import that you want to remove?

  • Suggested answer
    Tommy Skaue Profile Picture
    Microsoft Employee on at

    The basic premise for upgrading is a good knowledge on how Dynamics AX works from a technical perspective. I would highly recommend reading through the upgrade guide carefully, as it covers the procedure pretty well. There are a few gotchas in there, so expect to spend some time going back and forth.

    technet.microsoft.com/.../jj733502.aspx

    One way to "return back to a previous state" is to make sure to backup the databases in between steps. This would also work if your data upgrade is half-baked and you need to start over. You should be able to fix issues with the batches either directly in the interface or by updating the tables using SQL.

    I would take the opportunity to remind you that CU7 was just recently released and if it is feasible, you should consider upgrading to CU7 now. Your total compile time might be reduced by more than 90%. It depends on what non standard code you have in your solution, code that would need to be upgraded for CU7.

  • Kevin Kidder Profile Picture
    Microsoft Employee on at

    In order to "rollback" you would almost always need to restore both the business database and the _model database with Dynamics AX R2. There are a few different points during the data upgrade when we are making changes which impacts the contents of the model database by disabling/enabling unique indexes, creating tables, etc. There may be a few limited exceptions, but I would always just bring them both back to the same point in time.

  • lispyj Profile Picture
    201 on at

    Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans