Quick question, if you save customer license in customers sql database and take backup, will the license be still in the backup and when you restore it will it come with it?
And if you have own sql server with dev license on your sql server am I right the customers license will not over write our license when we restore customers database (with the saved license in it) to our sql ?
Last when we restore and if it does not over write, where does the license file in the backed up database go, does it dissapear when we restore it to our sql server.
These are not fully clear to me..
K.S.
0
Comments
Now, if you take a SQL backup, and the license is in the database, it will be there when you restore. With a NAV backup, I'm not sure, as a rarely use NAV backups with SQL.
hmm if it is with the backup file does it over write the license where you restore it or if it does not over write does the license just dissapear from the backup?
SQL or Navision backup, would be nice to know both. Cant find much detail info about this.
A SQL restore replaces the entire previous database, so nothing (including the prior license) would remain, and it would be replaced by everything that was in the source DB.
A NAV backup is different as it is really a table level backup and not a DB backup. I'm not clear whether it backups up the system table containing the license. I have my doubts, but you'll need to test.
A SQL full backup includes the entire database, so yes it would include the license.
If you have your dev license in the database, then yes the SQL restore will overwrite your license. Even if the restored database does not contain a license, your dev license would no longer be there. If your dev license is stored in master then it won't be disturbed.
So would I have to backup our license file each time I take backup from the customer (that has license in their sql database) before we restore it to our server then restore our dev license on the database? Or is there way to exclude the license file from the sql backup dump?
I checked that the navision backup does not take the license with it so it'd be probably easier or the correct way to only take that? But then again I'm wondering about the transaction logs if nav backup even have those if they were needed with something.
Which kind of way you usually take backup when you modify customers database objects/restore it to specific point etc.?
Some cases its realy hard to work with over citrix/remote due the latency making it mandatory to take the db on a stick and work it in our own server.
Will it be in the master if I use the nav upload tool there? I tested it with few cronus ones, uploaded it on one and then checked the license on the rest and it was the same dev. Does it mean its in the master then
The best practice would be to train clients not to put the license in the DB unless there was a specific reason to do so. The only reason to do this is if they are running multiple NAV installations that are independently licensed. A classic example would be an ASP (Application Service Provider) also known as a hosting operation. This is the reason this feature was originally added.
SQL backups are much quicker to restore. Transaction logs have nothing to do with taking full DB backups. With a NAV backup you would start by creating a new empty SQL datafiles and transactions log and restoring into them. With a SQL backup the empty transaction log would be created during the restore.
We don't. We maintain a development database from which all modifications originate. If the site hasn't been worked on for a bit, I may pull the objects to do a sanity check.
We conduct 100% of our development over remote (Terminal Server) connections. The vast majority of these are centrally located on a server in one of our offices. No developers are in that office. A few are hosted on customer sites. These are customers that either are also involved in development or have system interfaces that are not practical to replicate in our office. Another reason would be very large databases that may contain unique data required for development.
It will only be in the NAV DB if you have checked the "Save License in Database" option in the DB setup (Alter). Otherwise it will be in Master. If you use "Save License in Database" the license installed in Master must contain the "License per Database" granule.