SQL Backup

Mike_B
Member Posts: 25
We have 4 companies in one database running on SQL 2000 server.
I would like to make a SQL Backup for one not all of the companies.
I have done this many times using the Navision Backup Routine but not through SQL.
Please could anyone advise.
Thanks
Mike
I would like to make a SQL Backup for one not all of the companies.
I have done this many times using the Navision Backup Routine but not through SQL.
Please could anyone advise.
Thanks
Mike
0
Comments
-
Hi,
i think this is impossible to do with standard SQL only backup routines.
Because in the same database there are all tables and SQL does not know which table belongs to which company.
The only way i can imagine to solve that is to put each company in a different database file, but i do not know exactly
- how this works
- if this is doable at all (because of some tables for all companies)
The better way would be to run Navision Backup just selecting the company.
HTH,
Rainer0 -
I don't think that is possible. The way this is implemented is that Navision creates a new set of company specific tables in the same SQL database. Navision can tell the difference between companies, but I don't think SQL Server can. Unless there is a SQL Server way to specify which tables to back up I don't think there is anything like that available.0
-
There might be a way, but it is a long and complicated one to do:
You need a DB-file for each company and maybe also one for the company-independent tables.
Then in SQL, you have to tell SQL in which to put EACH :!: table in the DB.
After that you can backup a certain DB-file that in this case becomes a certain company.
But to be honest. Better don't do it. It is difficult to maintain and you have to change the properties of each table from SQL and this last thing can create problems with Navision.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thankyou all for you replies. Never mind i'll have to go along with what is currently available.0
-
Why dont you give each company a database of their own? Wouldnt this solve you problem?
Regards Bernt0 -
Why dont you give each company a database of their own? Wouldnt this solve you problem?
It would also violate their license agreement with Microsoft/Navision.There are no bugs - only undocumented features.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