dbTalk Databases Forums  

SQL Setup Recomendation - Maintenance Plan Not Removing .bak files

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss SQL Setup Recomendation - Maintenance Plan Not Removing .bak files in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #71  
Old   
bspolarich@advancedphotonix.com
 
Posts: n/a

Default Re: SQL Setup Recomendation - Maintenance Plan Not Removing .bakfiles - 10-28-2008 , 07:29 AM






On Oct 16, 4:05*pm, Ekrem Önsoy <ek... (AT) compecta (DOT) com> wrote:
Quote:
If you are sure that jobs run successfully (right click on the plans and see
their histories) then ensure that you type a correct file extension, which
is "bak" without the apostrophes. And ensure that you type a correct path
for the back up files which are supposed to be deleted after a period.

These are the common problems I see when someone complains about deleting
old backups using amaintenanceplan.
Actually my problem, which has been plaguing me for a while, was
dumber and simpler than that.

Be sure you enter your extension without the period. e.g. "bak",
not ".bak". Otherwise the file matching rule will never match your
backup files (it is looking for "foo..bak" and not "foo.bak", and the
Maintenance Plan editor will quite happily let you do this.

<smacks forehead>

ouch!


Reply With Quote
  #72  
Old   
bspolarich@advancedphotonix.com
 
Posts: n/a

Default Re: SQL Setup Recomendation - Maintenance Plan Not Removing .bakfiles - 10-28-2008 , 07:29 AM






On Oct 16, 4:05*pm, Ekrem Önsoy <ek... (AT) compecta (DOT) com> wrote:
Quote:
If you are sure that jobs run successfully (right click on the plans and see
their histories) then ensure that you type a correct file extension, which
is "bak" without the apostrophes. And ensure that you type a correct path
for the back up files which are supposed to be deleted after a period.

These are the common problems I see when someone complains about deleting
old backups using amaintenanceplan.
Actually my problem, which has been plaguing me for a while, was
dumber and simpler than that.

Be sure you enter your extension without the period. e.g. "bak",
not ".bak". Otherwise the file matching rule will never match your
backup files (it is looking for "foo..bak" and not "foo.bak", and the
Maintenance Plan editor will quite happily let you do this.

<smacks forehead>

ouch!


Reply With Quote
  #73  
Old   
bspolarich@advancedphotonix.com
 
Posts: n/a

Default Re: SQL Setup Recomendation - Maintenance Plan Not Removing .bakfiles - 10-28-2008 , 07:29 AM



On Oct 16, 4:05*pm, Ekrem Önsoy <ek... (AT) compecta (DOT) com> wrote:
Quote:
If you are sure that jobs run successfully (right click on the plans and see
their histories) then ensure that you type a correct file extension, which
is "bak" without the apostrophes. And ensure that you type a correct path
for the back up files which are supposed to be deleted after a period.

These are the common problems I see when someone complains about deleting
old backups using amaintenanceplan.
Actually my problem, which has been plaguing me for a while, was
dumber and simpler than that.

Be sure you enter your extension without the period. e.g. "bak",
not ".bak". Otherwise the file matching rule will never match your
backup files (it is looking for "foo..bak" and not "foo.bak", and the
Maintenance Plan editor will quite happily let you do this.

<smacks forehead>

ouch!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.