| Author |
Topic |
|
sqlserverdeveloper
Posting Yak Master
243 Posts |
Posted - 2008-07-17 : 11:33:30
|
| I am taking Full db backup once a week(sunday) and Diff db backup the rest of the week(Mon-sat). If I want to limit the number of diff db backup files like just have 3 days worth of backup's just like we had in sql 2000 maint plan wizard, where can I do that in sql 2005, otherwise I think the diff db backup files will keep piling up in the directory. Thanks! |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-07-17 : 11:43:25
|
quote: Originally posted by sqlserverdeveloper I am taking Full db backup once a week(sunday) and Diff db backup the rest of the week(Mon-sat). If I want to limit the number of diff db backup files like just have 3 days worth of backup's just like we had in sql 2000 maint plan wizard, where can I do that in sql 2005, otherwise I think the diff db backup files will keep piling up in the directory. Thanks!
Don't do from wizard. Do it through SSIS package (Next option from MAint plan wizard) and add history cleanup task.you can specify how long to keep backups and etc. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-07-17 : 23:49:52
|
| You can choose maintenance cleanup task in wizard. By the way, history cleanup task cleans maintenance history in msdb. It does nothing on backup files. |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-07-18 : 08:00:49
|
| My bad. It is maintenance Cleanup task . And you can't do in wizard. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-07-19 : 01:08:53
|
| >> you can't do in wizard.What? Did you ever apply sql2k5 sp on your server? |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sqlserverdeveloper
Posting Yak Master
243 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sqlserverdeveloper
Posting Yak Master
243 Posts |
Posted - 2008-08-07 : 15:03:32
|
quote: Originally posted by tkizer If you'll notice in the output, it says they are warnings, not errors. Ignore the warnings. It works fine.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog
Thanks, it works great!! |
 |
|
|
|