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 AX (Archived)

How to copy ax live environment to another environment without data?

(0) ShareShare
ReportReport
Posted on by 60

Hello,

I would like to copy aos live environment to another environment without data. How can i do that ?

I did this way but i was not able to run the service.

1. I make a script from sql to copy table structure from sql using sql "script database as " function and i run that query in new sql

2. I restored model and baseline databases from live environment to my new environment and them i made the dynamics ax server configuration

Everything was fine but i was not successful to start the service.

Anyone Can help me?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Two steps

    1) Prepare Environment-2, with complete installation

    2) Move ModelStore from  Environment-1 to Environment-2. I repeat ModelStore, not model.

  • Ertugrul Balveren Profile Picture
    60 on at

    There is no another way to do that ?

  • Ertugrul Balveren Profile Picture
    60 on at

    The way which i did is not correct?

  • Suggested answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Your way indeed isn't correct. You have to use the installer to get things installed correctly.

    An alternative way is installing the same version of AX and then exporting and importing custom models only. Taking the whole modelstore and using it with a database prepared for a different modelstore could still cause problems with IDs, although I believe that all critical tables use fixed IDs and everything else will be empty, so it doesn't matter in practice.

  • Suggested answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Other way, such as the way you are doing, does not seems feasible or healthy.

    Nobody knows details of "what happens as you create AX Database by running AX Setup". Because that's something by Microsoft. Trying to create tables of SQL on ENVIRONMENT-2 is not proper way. Also it may miss any binary components that are properly installed as you do it with AX Setup.

     

    Another idea can be taken into consideration, which is creating a virtual machine or replica of your original   ENVIRONMENT-1. For this, you need help of an administration guy who is expert of managing Operating systems. Or you can refer at any OS forums/community, where they may suggest you how you can quickly create replica of original server. After creating replica, might be some minor changes needed in ax configuration and database (In case computer name is changed for ENVIRONMENT-2)

  • Ertugrul Balveren Profile Picture
    60 on at

    I cloned live environment to another environment I have same AOS in another environment but I am not able to clone SQL like AOS, Data is about 1.1 TB and I don't have enough space for that. That's why I want to create a new DATABASE i did this as i mentioned above but service is not starting. I don't know if there is another way i can continue from here, if not I will delete all what I did and I will setup new AOS and then move ModelStore from Live to my new environment.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    other ways can create issues. nobody knows what issues.

    As those ways are not recommended. I would appreciate if you can adopt Reinstallation of AX on Environment. Running installer will make sure that you will not miss any binaries or installation files.

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 AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans