SQL Backup

gforce4678
Member Posts: 12
Hello All
I need a guide on the best way of backing up our NAV SQL database, I know how to do the backup through NAV frontend but not sure the best way of backing up the SQL back end.
Any guidance very much appreciated
Mark
I need a guide on the best way of backing up our NAV SQL database, I know how to do the backup through NAV frontend but not sure the best way of backing up the SQL back end.
Any guidance very much appreciated
Mark
0
Comments
-
Idealy you would create a job (or maintenance plan) to create your SQL backups. Depending on your needs you schedule it to make:
- A full backup periodically
- Differential backups periodically (to save diskspace and processing time in your backup)
- Transaction Log Backups a couple of times a day if needed
Also create a job that automatically deletes obsolete backup files, say older than 2 weeks.
If you need a full backup at some point outside of your normal backup scheme, be sure to make a 'copy only' backup, so it won't disrupt the backup sequence.0 -
There is no "one size fits all" backup plan. You need to schedule backups to fit your needs. Things such as DB Size, time available, storage capacity, and recovery needs can all be factors.
Also don't overlook the performance of the destination media. This plays a huge factor in backup performance.There are no bugs - only undocumented features.0 -
Can we create a Job within NAV for automatic backup? If Yes then how??0
-
No, you need to do it in SQL tools (SQL Management). I recommend some basic SQL training or read some SQL manual to understand how e backups works. Setting the backups is one step, than you need to know how to restore it correctly etc.0
-
As bbrown already mentioned the appropriate way of making backups is a somewhat individual thing which needs to be discussed ...
IMHO the very first questions in this discussion should be:
What is the maximum acceptable data-loss?
What is the maximum accepted server down-time?
The answers actually define how and how often to backup your system and how to restore it in case of disaster-recovery:
The higher the backup frequency, the smaller the possible data loss.
The higher the restore-frequency (e.g. using Log Shipping), the shorter the server-downtime.
I dare say that at least one full backup (SQL Backup!) is mandatory. The other things may be discussed ...Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
Don't forget to compress your backup (its an option in sql 2008 or later) it is faster to backup, takes up way less space and faster to restore.Jason Wilder
jwilder@stonewallkitchen.com0 -
jwilder wrote:Don't forget to compress your backup (its an option in sql 2008 or later) it is faster to backup, takes up way less space and faster to restore.
With SQL 2008 R2, compression is now available in SQL Standard Edition. Prior it was only available in Enterprise and above. I've been seeing compression of better then 6 to 1.There are no bugs - only undocumented features.0 -
According to this:
For SQL Server 2005 (or 2008 R1) there are third-party tools available for similar compression:
http://www.idera.com/Products/SQL-Server/SQL-safe-backup/
http://www.quest.com/litespeed-for-sql-server/
http://www.red-gate.com/products/dba/sql-backup/Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
I think the most used schedule is as following:
- A daily backup
- A weekly backup (backup of the last day of the week).
- A monthly backup (backup of the last day of the month).
- A yearly backup (backup of the last day of the year).
Since it's not necessary to save all backups you make every day.
A bit SQL knowledge is needed in this case, but it's not that hard to schedule it.0 -
FSmeets wrote:I think the most used schedule is as following:
- ...
I think what you meant to say wasI think the best schedule for one of my particular customers is as following:
- ...
Categorically there is no one size fits all for backups.David Singleton0
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