IT Community - Software Programming, Web Development and Technical Support

How can we delete backup?

This is a discussion on How can we delete backup? within the Database Support forums, part of the Web Development category; Is there any command for delete a dbs backup set? Thanks!...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 09-25-2007, 11:00 PM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Question How can we delete backup?

Is there any command for delete a dbs backup set?

Thanks!
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 09-27-2007, 02:11 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
jeyaprakash.c is on a distinguished road
Smile Re: How can we delete backup?

Try this...

Code:
EXEC master.dbo.sp_dropdevice @logicalname = N'somename'
Hope this will help u.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-27-2007, 03:26 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Exclamation Re: How can we delete backup?

Does that mean the only way to delete the backup set is to turf the entire thing?
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-28-2007, 02:43 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Smile Re: How can we delete backup?

The backup files use MTF (Microsoft Tape Format), these are sequential. It does not have a table of contents or anything similar, so one would need to scan through the whole file to identify the backup sets. The good thing about this is that the individual backup sets are not referenced, and the backup is just a concatenation of these backup sets. So in theory it is possible to remove an individual backup set, I have not seen such a tool, but it would not take long to write one.

The MTF format uses four character block identifiers, so in theory, once you identify the backup set you can remove it by editing the backup file (do make a copy!). Look for the word "SSET", these four characters identify the beginning of the individual backup sets.
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 09-28-2007, 05:35 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Smile Re: How can we delete backup?

Maybe I'm the one that's not doing something properly (most likely the case :>. I am trying to setup an automated backup process. Can you suggest any links on best practises (not a book length please? :>?) of how to setup and run backups?

Thanks.
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what's supported Hyper-V Backup? bluesky Server Management 5 06-08-2009 08:35 PM
How to backup in different directories? S.Vinothkumar Database Support 9 09-28-2007 11:34 PM
Backup SMS from PocketPc 2003, 5.0, 6.0 prasannavigneshr Mobile Software Development 3 08-01-2007 09:35 PM
Database Backup venkatesan.N Database Support 1 07-20-2007 08:55 AM
Backup of Mysql Database ewriter Database Support 2 05-03-2007 03:53 AM


All times are GMT -7. The time now is 10:12 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0