The Easy Way to Refresh Your Dynamics GP Test Company – Part Four

By Tim Gable | October 23, 2019

How to connect to your non-production d365 finance and operations database

In our last sessions, we created the SQL backup job and step, then the Restore step as well as our third step of running the company fix script.  In this session, we will test our job and troubleshoot any issues.

1) Go to the server where SQL Server is installed, and your Dynamics GP databases are located.

2) Launch SQL Server Management Studio and log in as SA or a user with System admin rights.

3) Expand SQL Server Agent and then Jobs. Look for the job you created in our last session.  In this case, it is:  “Back Up Database – TWO and Restore to Test.”

4) Right-click the job and click to select “Start Job at Step”

5) You should get a window that looks like this one below.  Click on start to run the job.

6) If the job starts and runs correctly, you should see this window

7) If the job and all steps complete successfully you should see this window:

8) Next, launch Dynamics GP and login to the test company

9) If all goes well, you will be able to log in. If not, then the fix company script most likely did not complete correctly.

10) If you are not sure if the restore to the test company completed properly:

  • You can go into the test company and create a customer or vendor that is not in your live company.
  • I like to create a customer called: Test Company restore.
  • I create this customer in the test company.
  • I then go and run the restore job as noted above.
  • I then go back into the test company and look for the user I just created.
  • If the user is now gone I know the live data has overwritten the test database.

11) To troubleshoot a job that is failed the best way is to review the logs for that job.

  • Expand SQL Server Agent and then the Jobs.
  • Select your job and right-click
  • Now select View History

12) When viewing the Log File Viewer, you will be able to see the jobs and steps that succeeded and also the ones that failed.  In this view below you can see that the job ran but step three failed.  In this case the script was incorrectly pasted into the job step window.

13) To see more info on why a step failed, you can copy the exact script from the job step and paste it into a new query window and execute it there to see more of why the script failed.

This concludes our series on Easy Test Company restore. If you have any other questions or are looking for more information, reach out to the team at Stoneridge Software.

Related Posts

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X