[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How To Configure Database Maintenance Plan to only Backup Last 7 days on SQL 2012

Posted on 2013-11-28
1
Medium Priority
?
319 Views
Last Modified: 2016-02-11
Basically, as the title says, I want to configure my plan to only backup the database every night for the last 7 nights.  anything older than that should be deleted away.

The reason why is space.  The space on my HD is being eaten away rapidly.

Am I going to have to create a custom SSIS package or is there some way to configure the maintenance plan to do it?  Gotta believe there is and that Microsoft, even though often befuddling in their choices, has given me that option.

Thanks
0
Comment
Question by:cat4larry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 39684343
Under the maintenance task there should be a "Maintenance Cleanup Task" that you can add to the plan to allow you to delete files based on age.

Further info: http://technet.microsoft.com/en-us/library/ms177182.aspx
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A couple of weeks ago, my client requested me to implement a SSIS package that allows them to download their files from a FTP server and archives them. Microsoft SSIS is the powerful tool which allows us to proceed multiple files at same time even w…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question