SQL Backup - restore new environment
eagle_eye
Member Posts: 130
I have a SQL backup of NAV that I would like to restore in a different domain (i.e. the security logins will not be the same).
When I restore the database, and try to open it in NAV, I am told that the user id & password are not valid (obviously I have not set-up any). What is the trick to restore in a different domain? Do I need to create a database login (instead of windows) to use before I do a sql backup?
When I restore the database, and try to open it in NAV, I am told that the user id & password are not valid (obviously I have not set-up any). What is the trick to restore in a different domain? Do I need to create a database login (instead of windows) to use before I do a sql backup?
0
Comments
-
I will answer my own post. Clearing the user and windows logins tables from sql and then opening the NAV client allows you to have a chance to create a user for yourself after the restore.0
-
If you don't want to delete the existing rolls and users, then what I do, is install Cronus on the new domain, create a windows login. Then just copy paste these records form the cronus to the new database, giving me a super login and keeping all the existing users. I do this because often customer databases have user specific set up needed to do certain tasks.David Singleton0
-
What a great idea. Thank you!!0
-
because NAV 7 is still not out, you can just use a database auth. login as a superuser. That user can easily be copied to the new SQL instance on the new domain.
When NAV will drop the database authentication, then it is not possible to edit the logins from NAV.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
