Dear all,
I've a client who is on MBS Navision 4 on SQL Server, I just want to know is it possbile to make a succesful SQL backup when there are some users still doing data entry. And what about making a Navision backup when there are some users still doing data entry? Will the backups be complete, or will the tables which the users are accessing be ignored by the backup?
Thanks in advance for any answers to this noob question ;P
0
Comments
if users are changing records that table is locked. Locked table means no acces, maybe no acces for the backup to work?
Maybe try to avoid that and schedule a backup during the night
The Navision backup WILL NOT backup changes done after starting the backup.
It is possible that the SQL-backup backups also changes done during the backup if the transaction is finished before the end of the backup. But I am not sure about this last thing.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
It is true that it is better to make a backup when no one is working (especially when running heavy batches) to not hinder performance unnecessary. So the best thing is : at night a full backup and during the day transaction-log backups.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
BACKUP DATABASE [database_name] to disk = 'file_name' with differential
Now you can implement the following backup scheme: a full backup every Saturday, a differential backup every night, and a transaction log backup every hour. Once this scheme is in place, if you go down on Thursday evening, all you need to do is apply the full backup, the last differential backup (which would have been Wednesday evening), and all the transaction logs since—for a total of only 26 files.
This 10-Minute Solution covers the basics of the BACKUP command and the four types of backups that you can create. Before implementing a backup plan, perform additional research on these features by reading up on the BACKUP command in the Books Online manual. Additionally, you should remember to test your backup plan thoroughly by performing test restores on a regular basis.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
2) During backup, all data are going into transaction log, after backup, all changes are remade into database
3) If you are using Navision backup on SQL, you can have problems - deadlocks - with already running transactions from users. It is not 100% sure that beckup will be sucessfull, because Navision is locking table in sequence (Navision is not able to do "snapshot" of the DB, may be on MS SQL 2005 yes...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Just kidding.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
When users are making changes to the SQL database, those changes (insert/modify/delete) are kept in memory and written to the transaction log. When the server issues a checkpoint, these changes are flushed to disk.
RIS Plus, LLC