Missing data in independant tables after restore

ecarmody
Member Posts: 53
Hello,
Why would all my company independant tables be missing data (zero rows) after a restore to a new/clean SQL Navision database from a Navision Native database backup?
All the structures were created and the application runs, independant tables are all creates, they are just empty.
Would that happen if I chose CUSTOM restore instead of ENTIRE or ALL?
Thanks,
Eric
Why would all my company independant tables be missing data (zero rows) after a restore to a new/clean SQL Navision database from a Navision Native database backup?
All the structures were created and the application runs, independant tables are all creates, they are just empty.
Would that happen if I chose CUSTOM restore instead of ENTIRE or ALL?
Thanks,
Eric
0
Comments
-
When you create (and Restore) a backup, there are three tick box options:
Company Data
Objects
DataCommon to All companies
These tables you have lost are all in the last option.
Now if you have an existing database, and it already contains common data (say security setup data) then the restore can not import these tables.David Singleton0 -
Thanks, David.
I will have to redo another backup and confirm that option is checked on.
Thanks,
Eric0 -
Actually, I just checked with the administration fellow who manages the backups. He showed me the backup screen and confirms that the "Data Common to All" is checked on when he does the backup.0
-
ecarmody wrote:Actually, I just checked with the administration fellow who manages the backups. He showed me the backup screen and confirms that the "Data Common to All" is checked on when he does the backup.
Yes but was it ticked when you did the restore? If you restore into an existing database then it wont default import those tables. You need to do a FILE->DATABASE->NEW, then do the restore.David Singleton0 -
humm ... on the restore screen those two checkboxes (Data Common to All, and Application Objects) are both disabled and grayed out. Why would that be?
I guess too, that that's the reason now common data. Now how to get those checkboxes enabled?0 -
ecarmody wrote:humm ... on the restore screen those two checkboxes (Data Common to All, and Application Objects) are both disabled and grayed out. Why would that be?
I guess too, that that's the reason now common data. Now how to get those checkboxes enabled?David Singleton wrote:...You need to do a FILE->DATABASE->NEW, then do the restore.David Singleton0 -
Ok, running restore on new database now. DataCommon to All is checked, but the damn Application Objects is disable/grayed out and unchecked!0
-
ecarmody wrote:Ok, running restore on new database now. DataCommon to All is checked, but the damn Application Objects is disable/grayed out and unchecked!
How did you create the new database?David Singleton0 -
File - Database - New
Then I entered a new database name; it was already pointed to the correct SQL server. The only thing I change is the Recovery option, I change it to Simple because it takes a lot less transaction space.
I add my user id right away into Security, Windows Logins. Then start the restore. It prompts me to overwrite the security tables; I answer NO. Would that be causing issues?
In my past experiences if I let it restore the security tables, then my windows login that I was connected with to create the database is not included in the security tables and I cannot reconnect to the database.0 -
ecarmody wrote:File - Database - New
Then I entered a new database name; it was already pointed to the correct SQL server. The only thing I change is the Recovery option, I change it to Simple because it takes a lot less transaction space.
I add my user id right away into Security, Windows Logins. Then start the restore. It prompts me to overwrite the security tables; I answer NO. Would that be causing issues?
In my past experiences if I let it restore the security tables, then my windows login that I was connected with to create the database is not included in the security tables and I cannot reconnect to the database.
As soon as you create a log in, you are entering data intot he database, creating tables and data, so its no longer a new database.
You need to create a new database, and restore the database into it whilst it is still empty. Once restore is complete, then you can create your user id (just don't log out before creating the user.David Singleton0 -
Ok ... abort restore; deleting database; restore anew; then create my login.
Got it. Thanks much for the hand holding. We'll see how this one goes.
Cheesr,
Eric0 -
well, this one looks better. \:D/ All options now available (not disabled) and all checks on. I guess I was shooting my own foot before by creating my login first, before doing restore. A lot of trial and error here.
This restore probably will run for about 4 hours.
Thanks again for your help,
Eric0 -
ecarmody wrote:well, this one looks better. \:D/ All options now available (not disabled) and all checks on. I guess I was shooting my own foot before by creating my login first, before doing restore. A lot of trial and error here.
This restore probably will run for about 4 hours.
Thanks again for your help,
Eric
Another satisfied customer thenDavid Singleton0 -
David, FYI ... all went well with the restore. =D>0
-
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions