Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
How do I clear out old Backups?
How do I clear out old Backups?
Rate Topic
Display Mode
Topic Options
Author
Message
Sean Grebey
Sean Grebey
Posted Wednesday, December 26, 2012 12:33 PM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 9:47 AM
Points: 30,
Visits: 55
I change the days to retain on the Backup job from 14 to 3 before I left last Friday. I come into today and there are 7 days worth on there. What am I missing to get it to auto-clear these older backups? Thanks.
Post #1400332
SQLKnowItAll
SQLKnowItAll
Posted Wednesday, December 26, 2012 1:06 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 2,613,
Visits: 3,128
Where exactly are you changing this? In a script? In a maintenance plan package? No matter which one... Please provide details of the script/package. My initial assumption is that you are deleting backup history and not backup files.
Thanks,
Jared
SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
Post #1400350
Sean Grebey
Sean Grebey
Posted Wednesday, December 26, 2012 1:53 PM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 9:47 AM
Points: 30,
Visits: 55
In the Maintenance Plan Back of Database (Full) Task, there is an option Property called RetainDays. Change it, and the summary of the Task changes to Backup set will expire: After (in days) 3. I still have 7 days of Backups however.
Post #1400366
Scott D. Jacobson
Scott D. Jacobson
Posted Wednesday, December 26, 2012 2:07 PM
Old Hand
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:17 PM
Points: 335,
Visits: 841
You want to add a
Maintenance Plan Cleanup
task instead of adjusting the media-set retention period.
Post #1400369
Sean Grebey
Sean Grebey
Posted Wednesday, December 26, 2012 2:11 PM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 9:47 AM
Points: 30,
Visits: 55
Scott D. Jacobson (12/26/2012)
You want to add a
Maintenance Plan Cleanup
task instead of adjusting the media-set retention period.
Thanks
Post #1400373
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.