Feedback - Selected Company Restore

Navision Articles

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

This post has 14 Replies | 5 Followers

Top 25 Contributor
Male
Posts 808
5,920 Points
Joined: Jul 3, 2001
Last Online:
Jul 29, 2010 16:10
Location: Vedbæk, Denmark
MicrosoftEmployee
Dean McCrae Posted: Nov 12, 2008 11:10
How helpful was this post/question? Please rate here:

If you have a minute or two I would appreciate your feedback regarding the usage of the company restore feature, within the NAV classic client.

The background to this is that of looking into the tooling in the classic client, to determine new interfaces, alternatives or improvements in future versions. I am interested in your experience, in any capacity, of the ability to restore a selected company from a NAV .fbk file. Particularly on the SQL platform, this can be a slow and resource consuming task, and I know that alternatives have been made using SQL tooling. If you are running with the native database I also appreciate your input.

Please choose which is the closest to your experience, for this feature:

 

  • An important feature: I use it to restore individual companies, as part of my backup/restore plan. (29.4%)
  • An important feature: I use it as a means of copying companies from one database to another. (58.8%)
  • An important feature: But I instead use scripts/tools in SQL Server to copy companies from one database to another. (0%)
  • Not important: I rarely or never use it and instead rely on SQL Server backup/restore plans. (0%)
  • Not important: I rarely or never use it and instead rely on HotCopy. (0%)
  • Not important: I rarely or never use it and instead rely on full .fbk restores. (5.9%)
  • Somewhat important: I use it occasionally. (5.9%)
  • Total Votes: 17

Please also feel free to post comments and experiences. Thanks all.

This posting is provided "AS IS" with no warranties, and confers no rights.
Top 10 Contributor
Male
Posts 6,217
58,073 Points
Joined: Apr 12, 2001
Last Online:
Jul 28, 2010 18:11
Location: Prague, Czech Republic
DynamicsNAVMVP
Moderator
SystemAdministrator
David Singleton replied on Nov 13, 2008 0:26
How helpful was this comment/solution? Please rate here:

It's quite an interesting question. I am one of those people that still use FBKs occasionally. I don't use them as part of a disaster recovery process, but more for maintenance, especially shipping and building test/development environments. Its sometime annoying to have to build a 500gig database when I only need a small company to do some testing with.

In a Native environment often clients have a Playground company that is in the same database as the live company, because of the complexity or running multiple servers, and allocating cache drives etc. But in SQL its easy enough to just craete a new database.

I think that a company that has a very large database with many companies must also have a solid backup procedure that allows for backups of this size.

 

But where the real issue comes is for Business that have multiple separate companies that need to be managed separately. For example accounting companies or hosting companies. Where there is a logistical and actual requirement to separately backup each company. Also some companies with SOX requirements would need that ability as well, so that they can keep data separated. Though logically one would expect them to have the data in separate SQL databases.

 

soo...

 

yes I think this is a feature that is needed, but priority wise its not at the top of the list.


FYI top of MY list is fixing SELECT * as I mentioned in this blog: [:'(]

http://dynamicsuser.net/blogs/singleton/archive/2008/03/14/select-from-and-how-to-do-it-better-in-nav.aspx

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision system performance design and tuning.
Dynamics Book

Top 10 Contributor
Male
Posts 2,116
28,440 Points
Joined: Jan 23, 2004
Last Online:
Jul 29, 2010 14:33
Location: Howell, MI
DynamicsNAVMVP
Moderator
DenSter replied on Nov 13, 2008 2:43
How helpful was this comment/solution? Please rate here:

It would be REALLY nice to have an easy-to-use way to pull a SQL Server backup per company. That would certainly make a difference. Not so much for end users, they put in place full backup/recovery procedures anyway, and they are usually able to put the infrastructure together to handle all of that. For me as a developer it would be nice to have the ability to pull one of the smaller companies out without intruding too much on the customer's processing.

Top 50 Contributor
Male
Posts 389
4,725 Points
Joined: Nov 6, 2005
Last Online:
Jul 29, 2010 12:47
Location: Weymouth, MA, USA
babrown replied on Nov 13, 2008 12:48
How helpful was this comment/solution? Please rate here:

DenSter:

It would be REALLY nice to have an easy-to-use way to pull a SQL Server backup per company. That would certainly make a difference. Not so much for end users, they put in place full backup/recovery procedures anyway, and they are usually able to put the infrastructure together to handle all of that. For me as a developer it would be nice to have the ability to pull one of the smaller companies out without intruding too much on the customer's processing.

It would be great if the "Create Company" feature allowed you to specify a filegroup for each company.  The company-specific table would be placed there.  This would allow you to isolate each company or just put them all in the same filegroup.  You could backup individual filegroups.  Larger companies could be placed on separate disk systems.  Of course, this would mean that the "Object Designer" would need to create tables in the correct filegroups.

 

 

Top 50 Contributor
Male
Posts 501
5,850 Points
Joined: Mar 10, 2006
Last Online:
Is Online Now
Location: Milan (Italy)
DynamicsNAVMVP
kriki replied on Nov 14, 2008 16:44
How helpful was this comment/solution? Please rate here:

For backing up a single company, it is really needed.

 

And I give an extra reason:

Some months ago, I noticed that the SQL-backup didn't run for some time (  AARRGGHH!). I warned them, started the SQL-backup but always got some error. Then I started a backup directly on the server (without the job) and it completely hung the server! The only thing that worked was tugging out the powercable!!!

 I directly tried a NAV-backup and to my relief it DIDN't give an error. I directly created a new DB, restored the backup in it, did some checks and luckily all was ok. I don't know how I would have done that WITHOUT the NAV-backup! Actually, I know, but not in so a short time...

IF Debugging = removing bugs from program THEN programming := putting bugs in program;
Top 10 Contributor
Male
Posts 6,217
58,073 Points
Joined: Apr 12, 2001
Last Online:
Jul 28, 2010 18:11
Location: Prague, Czech Republic
DynamicsNAVMVP
Moderator
SystemAdministrator
David Singleton replied on Nov 14, 2008 18:23
How helpful was this comment/solution? Please rate here:

Wink

kriki:
And I give an extra reason:

Hmm I think one of us missinterpreted the question. I guess you interpereted it as "can we remove the NAV FBK functionality".

I read it as "Should we add something similar to the FBK abilty to backup and restore a single company into some SQL functionality."

 

Dean could you clarify. I hope you are not planning to kill the FBK functionality.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision system performance design and tuning.
Dynamics Book

Top 10 Contributor
Male
Posts 1,529
28,099 Points
Joined: Jun 5, 2005
Last Online:
May 10, 2010 20:38
Location: Lisbon, Portugal
Moderator
Nuno Maia replied on Nov 14, 2008 18:35
How helpful was this comment/solution? Please rate here:

I use this functionally a lot in may daily work.  Please don't kill this functionality and extend it to SQL Smile    

Nuno Maia

Top 50 Contributor
Male
Posts 501
5,850 Points
Joined: Mar 10, 2006
Last Online:
Is Online Now
Location: Milan (Italy)
DynamicsNAVMVP
kriki replied on Nov 14, 2008 18:45
How helpful was this comment/solution? Please rate here:

David Singleton:

Wink

kriki:
And I give an extra reason:

Hmm I think one of us missinterpreted the question. I guess you interpereted it as "can we remove the NAV FBK functionality".

I read it as "Should we add something similar to the FBK abilty to backup and restore a single company into some SQL functionality."

 

Dean could you clarify. I hope you are not planning to kill the FBK functionality.

 

Hmmm. I hope I am missinterpreting it! 

But I would really like the companybackup as fast as a SQL-backup and without blocking other users (or being blocked) by other users.

IF Debugging = removing bugs from program THEN programming := putting bugs in program;
Top 25 Contributor
Male
Posts 808
5,920 Points
Joined: Jul 3, 2001
Last Online:
Jul 29, 2010 16:10
Location: Vedbæk, Denmark
MicrosoftEmployee
Dean McCrae replied on Nov 15, 2008 9:09
How helpful was this comment/solution? Please rate here:

Thanks for all the input so far.

The question is not based on removing any functionality available currently, but rather to assess the importance of company-specific backup/restore, since this is an area that SQL Server cannot help with out of the box. The File Group idea is certainly one way to look at this, as is the support of a server side component that can perform a 'company copy'.

There might be several solutions; but I wanted to get a feel for how much it is used today.

 

This posting is provided "AS IS" with no warranties, and confers no rights.
Top 10 Contributor
Male
Posts 2,116
28,440 Points
Joined: Jan 23, 2004
Last Online:
Jul 29, 2010 14:33
Location: Howell, MI
DynamicsNAVMVP
Moderator
DenSter replied on Nov 15, 2008 16:15
How helpful was this comment/solution? Please rate here:

It's a bit of a trick question though. On SQL Server you will not find many people that use it because NAV backups are so slow compared to SQL Server backups. The time it takes to pull one company NAV backup you can backup AND restore an entire SQL Server database, and from there you can go in and delete the companies you don't need. So if you find that not a lot of people use it, in many cases it's not because they wouldn't want to, it just takes too much time.

I would submit that if this were available in SQL Server, it would be used a lot. When all customers were on Classic, they would use this feature all the time.

Top 10 Contributor
Male
Posts 6,217
58,073 Points
Joined: Apr 12, 2001
Last Online:
Jul 28, 2010 18:11
Location: Prague, Czech Republic
DynamicsNAVMVP
Moderator
SystemAdministrator
David Singleton replied on Nov 15, 2008 16:46
How helpful was this comment/solution? Please rate here:

Dean McCrae:
The question is not based on removing any functionality available currently, but rather to assess the importance of company-specific backup/restore

 

 

Great, that's how I interpreted your original post. Yes

 

I think that for Company backup to make sense, you need to consider the following:

  • It must run from SSMS direct on the SQL database and no NAV interaction required. This is for Backup and restore.
  • Should be able to read the company name data from the "Company" table, and give the ability to select one or many companiesto backup.
  • The Restore process should (logically) not ony restore the dbo.Comany$tablexx but also update the records in NAV (e.g. in the Company table) so that there is no need to go back to NAV and run some process to "activate" the newly restored company.
  • Should have the ability to rename the company at restore time.
  • Make it possible to also backup/restore the "common to all companies" tables.
  • It shoudl look at any security (permissions_ appied company specific, and give the abbilty to backup this along with the company backup. And of course be able to merge those back at restore time.

I really like Babrown's idea with file groups, that would make administration much easier, but of course that wont address all the specif issues mentioned above.

Also Daniels point is very vallid, though I never really thought about it. These days I tend to put companies in seperat databases to aviod having to do a NAV company backup, so if you can do what you are suggesting, then I agree that a lot more people would use it.

 

PS off topic but will you be at Convergence? If so it would be great to meet up.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision system performance design and tuning.
Dynamics Book

Top 25 Contributor
Male
Posts 808
5,920 Points
Joined: Jul 3, 2001
Last Online:
Jul 29, 2010 16:10
Location: Vedbæk, Denmark
MicrosoftEmployee
Dean McCrae replied on Nov 15, 2008 21:08
How helpful was this comment/solution? Please rate here:

Daniel, you're right about the NAV company restore problems being a reason to choose alternative means; I expected point number 3 to be more common therefore but I expect there are several ways around it, including the one you pointed out. If it's important enough the means usually present themselves Smile I agree that it does not lessen the need for the feature.

David, these are good points - a nice spec. All company sensitive data in system tables and 'global' tables would absolutely need to be included.

I plan to be at Convergence for a morning or afternoon - not sure which day yet but will know on Monday. Will let you know.

Thanks guys!

 

 

This posting is provided "AS IS" with no warranties, and confers no rights.
Top 10 Contributor
Male
Posts 6,217
58,073 Points
Joined: Apr 12, 2001
Last Online:
Jul 28, 2010 18:11
Location: Prague, Czech Republic
DynamicsNAVMVP
Moderator
SystemAdministrator
David Singleton replied on Nov 15, 2008 21:27
How helpful was this comment/solution? Please rate here:

Dean McCrae:
I plan to be at Convergence for a morning or afternoon - not sure which day yet but will know on Monday. Will let you know

 We have a lunch on Thursday, maybe you could ask Kipper for an invite to that. I feel you would be very welcome.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision system performance design and tuning.
Dynamics Book

Top 25 Contributor
Male
Posts 808
5,920 Points
Joined: Jul 3, 2001
Last Online:
Jul 29, 2010 16:10
Location: Vedbæk, Denmark
MicrosoftEmployee
Dean McCrae replied on May 2, 2009 11:13
How helpful was this comment/solution? Please rate here:

Thanks to all for taking this poll and contributing opinions.

In 6.0 SP1 the Company Restore performance against the SQL version of NAV will be much improved; there will no longer be internal tables created and deleted unnecessarily for all companies that already exist in the database.

As a rough guide on typical desktop hardware, restoring into a database with 20 companies (on a single box) is reduced from around 30 minutes to 3 minutes. Better improvements are likely with more companies, and going machine-machine.

It is also planned to make this available as a 5.0 update, but I cannot currently say when that will be.

 

This posting is provided "AS IS" with no warranties, and confers no rights.
Top 10 Contributor
Male
Posts 2,116
28,440 Points
Joined: Jan 23, 2004
Last Online:
Jul 29, 2010 14:33
Location: Howell, MI
DynamicsNAVMVP
Moderator
DenSter replied on May 2, 2009 19:05
How helpful was this comment/solution? Please rate here:

Awesome Dean, thanks for the heads up Yes

Page 1 of 1 (15 items) | Get this RSS feed | Bookmark and Share