SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Delete Backup Files


Delete Backup Files

Author
Message
i_am_oh_so_new_to_this
i_am_oh_so_new_to_this
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 1
Hi,

I'm trying to delete files from within a .bak file.

I am using SQL 2005 Standard Edition SP2.

If I right click on a database and select Tasks --> Restore --> Files and Filegroups, I can see many files and filesgroups here. I want to delete the older files and filegroups from this list as I don't need them any longer. Can anyone help me with this?

Thanks!
steveb.
steveb.
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10526 Visits: 7195
Go into File-Explorer and then delete them, but be absolutely sure you don't need them first.

Or Setup a maintanence plan to automaticaly delete the older backups based on file age.
Steve Jones
Steve Jones
SSC Guru
SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)

Group: Administrators
Points: 145723 Visits: 19425
There are not files within a .Bak file. There might be multiple backups stored within one file, but you cannot delete some of them now. You should back up to a new file every day, not reuse the same file or store multiple backups inside one file.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
i_am_oh_so_new_to_this
i_am_oh_so_new_to_this
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 1
Steve Jones - Editor (12/8/2008)
There are not files within a .Bak file. There might be multiple backups stored within one file, but you cannot delete some of them now. You should back up to a new file every day, not reuse the same file or store multiple backups inside one file.


This is exactly my scenario - thanks, I'll reset backups so that jobs go to a new file. Looks like I have no option other than to delete the old .bak files as they are growing and growing.

Many thanks, Steve.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search