Featured Products
Product Details
 
 
 
Customer Comments
800-672-4806 | 425-672-4806 | sales@ccscentral.com
User Guest (38.107.179.212)
Home CCS Blogs Retail Software and Training Advice: John's Blog MS SQL Maintenance Plans - Backup Type and Rotation Frequency.

MS SQL Maintenance Plans - Backup Type and Rotation Frequency.

E-mail Print

MS SQL Maintenance Plans - Backup Type and Rotation Frequency.

In an earlier blog article, I discussed using the MS SQL Management Studio Maintenance Plan Wizard to help you set up core maintenance tasks, which should also include a database backup routine, that is coupled with a backup rotation clean-up task.  How this is configured is largely based upon the following factors:

1.  What type of database recovery method is being used.

MS SQL allows use of (3) three recovery methods as:

 
a.  Simple 
 

  • Does no backup transaction logs..

  •  Automatically reclaims log space to keep space requirements small, essentially eliminating the need to manage the transaction log space.

  •  Work Loss Risk:  Changes since the most  recent backup are unprotected. In the event of a disaster, those changes must be redone.

  •  Recover to a point in time?:   Can recover only to the end of a backup. 

 Notes:  This method assumes that you will be restoring the complete, whole database backup which would overwrite   the existing current database.  So with a typical nightly based backup strategy, restoring from last nights backup   would completely overwrite the current database.  If something occurred later in the day that required  a restoration, you would loose the current days data. 
  
This method also allows you to set-up a "Shrink Database" routine, which also "truncates" the   database transaction log, thereby reducing it's size, and the overall disk space requirement.
  
 *The advantage here is that the restoration process is easier.
 
b.  Full

  •  Requires log backups.

  •  Work Loss Risk:  Normally, none.  No work is lost due to a lost or damaged data file. 


  •  Recover to a Point in Time?:  Can recover to an arbitrary point in time (for example, prior to an application or user error).

  •  If the tail of the log is damaged, changes since the most recent log backup must be redone.

  •  Can recover to a specific point in time, assuming that your backups are complete up to that  point in time.


 
 Notes:  Unlike, the "Simple" method, the database transaction log, cannot be shrunk/truncated automatically  because doing so would remove data required for part of a restoration process.

*This would be the preferred method if disk space were not an issue, backup were being made frequently,  throughout the day, and you need to restore a real-time backup (say about 30 minutes ago). 
 
  
 
c.  Bulk logged

  • Requires log backups.

  • Works as an adjunct of the full recovery model that permits high-performance bulk copy operations.

  • Reduces log space usage by bulk logging most bulk operations.  If the log is damaged or bulk-logged operations occurred since the most recent log backup, changes since that last backup must be redone.  Otherwise, no work is lost.

  • Recover to a point in time?:  Can recover to the end of any backup. Point-in-time recovery is not supported.
     

***For most applications the "Simple" or "Full" are appropriate. ***

2.  The frequency of the database backup and what other maintenance tasks are linked to it.

3.  The amount of hard disk space available.

Whenever practical, making a nightly backup, with a least a (7) seven day rotational cycle should be done.

However, if the database and log file were a combined total of 30 GB, then a (7) seven day rotational backup at that current size would require over 210 GB of free space.

Also, most external back-up media programs will not make a back-up of a open SQL Database.  Doing this may require a scheduled task that stops the MS SQL Services, and then restarts them after the backup process has completed.

4.  Whether Multi-Site or other data Replication is being used.

Even though MS SQL allows for a backup to run on an actively used database, because of the amount and type of data moving back and forth during replication tasks, back-ups are not recommend during these operations. Like in #2 above, this is also a greater issue if you have other maintenance tasks linked to the backup that require exclusive access and control over the database.  The "Simple" recovery method is preferred for use with CP SQL and Peer Direct when Multi-Site is involved.

Please contact the CCS Retail Systems Support Department if you have questions on the above, or to schedule your maintenance plan review your existing set-up.
 

Last Updated on Tuesday, 06 July 2010 15:38  
Privacy Policy | CCS Sales | CCS Support | CCS Training | CCS Administration | Author Help | CCS Webmaster | Site Map

© Copyright 2012, CCS Retail Systems, Inc. All Rights Reserved.

Customer Connect Marketing

Customer Connect Video and Details The Only Email Marketing Tool Built for Retailers

Customer Connect (CC) is Loaded With The Features And Functionality Needed For RetailersFully integrated with CounterPoint V7 and CounterPoint SQL, Customer Connect gives you the data needed to effectively connect with your customers, drive sales and increase customer loyalty.

New CustomerConnect Features!

Subscribe to CCS Specials Newsletter.  To unsubscribe use the link at the bottom of a newsletter. CCS Newsletter Sign-up

Visit CCS CustomerConnect eNews Archive CCS CustomerConnect eNews Archive

Quick Menu

 

 

 

 

Recovery Act Tax Deductions

"American Recovery and Reinvestment Act has officially extended the Section 179 Tax Deduction increases for the 2011 Tax Year"

Section 179 can be extremely profitable to you, so it is to your benefit to learn as much as possible. To begin, you probably have a lot of questions regarding Section 179. Follow the links below to get the details on this opportunity:  more ...

 Radiant CounterPoint POS

Radiant Introduces NEW CounterPoint POS Releases

This New 8.3.9 Release of CounterPoint was developed to give retailers New Features and Functions that increase profitability, and ensure a rapid return on investment.

Contact your CCS Sales Consultant to discuss all the new features and functions included.  Ask how they will Keep the Checkouts moving, the Inventory Optimized, and the Back-office Managed. Here are just a few of CounterPoint 8.3.9’s enhancements:  

♦ Registry/Wish List ♦ Message Center
♦ Margin Driven Pricing ♦ Miscellaneous Kits
♦ Tag-Along Kits ♦ Scrap Items
♦ Inactive Items ♦ Discount Overrides
♦ Item Zoom ♦ Forecasted Advices
♦ Enhanced Advices ♦ Work Center
♦ PCI DSS Passwords ♦ Enhanced CC Security

CPSQL 8.4.0 is on its way. Check out What's Coming with the link below!

CPSQL 8.4.0  | CP V7.5.19  | Product News | POS Stations

Why Choose CPSQL?

We have selected two dozen Recent New Retail CounterPoint SQL POS Customers to Profile for you. 

We suspect that you may have Needs Similar to theirs.  See Why these Retailers chose CPSQL and What they Found to be the Benefits.   more ...

Is Your System Healthy?

Great Deals!  New and Refurbished Systems.  Netbooks, Notebooks, Desktops, Servers, Storage Systems, Retail Devices.  Configure your own Systems for us to install.  more ...

Topic Cloud

GeoIP Location

Bookmark Us

Add to: JBookmarks Add to: Facebook Add to: Buzka Add to: Windows Live Add to: Ximmy Add to: Bookmarks.cc Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Spurl Add to: Google Add to: Blinklist Information

Spam Free



Translate Page




John's Blog Newsfeed Subscribe to FeedBurner

Products and Services

 
Product Details
 
 
 

CCS Customer Comments

Customer Referrals

CCS offers rewards for each new, verified Prospect referral. We encourage you to think of the value that CounterPoint has added to your business and share that with others who will also benefit.

Submit a ReferralSubmitReferral

Get Involved In Our Site!

Become an Author.We encourage our customers, suppliers, and friends to participate in our site.  See the Visitor Services pages for details.