cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with expiring images with bpexpdate, what is best practice

mtp0410
Level 3

during expiring images from a master to clean up space a lot of good images got expired, is there a best practice document when it comes to using bpexpdate?  If anyone can help it would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Mark_Solutions
Level 6
Partner Accredited Certified

Please clarify exactly what you mean .. best practice really is not to use bpexpdate unless absolutely neccesary as your original backup retentions should deal with data expiration

Anything you expire is a loss of data protection

View solution in original post

11 REPLIES 11

Pangal
Level 5

1)bpexpdate is used for changing the retention of images from zero to infinity

2) Can u clarify whether  you want to free disk unit space   or something else??

 

Mark_Solutions
Level 6
Partner Accredited Certified

Please clarify exactly what you mean .. best practice really is not to use bpexpdate unless absolutely neccesary as your original backup retentions should deal with data expiration

Anything you expire is a loss of data protection

mtp0410
Level 3

What I have been asked for: Does a document exist that would include the best practice for bpexpdate?

I know it is a dangerous command...but it was used and now we are looking to see if there is a document that could help us prevent this from reoccurring.

Pangal
Level 5

www.symantec.com/docs/HOWTO43656 explains the bpexpdate command. I hope this is what you are asking for

 

mtp0410
Level 3

I have the procedures doc...thank you for looking that up!  Basically I think what is known right now is that a "best practice" doc for expiring images doesn't exist.  It is just one of those that the "best practice" is to not use and let the images expire on their own.

Does anyone have an idea about how to clean up images without using the bpexpdate command?

Stumpr2
Level 6

bpexpdate best practice is to only use when necessary. I have used it over the years and have been pretty LUCKY that I have not lost data. One time I had to import some tapes but no total loss of data. I have had to prematurely expire data in order to free up tapes or disk space or to re-assign an expiration to from infinity to a regularly used expiration time.
Think of it as an equivalent to the NIX "rm" command. and remeber that rm like diamonds is forever,
If you really want to be safe then instead of expiring with the value 0 you can first set the expiration for 1 day and then look at the results. if everything looks good then either wait a day or run the command again using the 0 to expire.
Backup your catalog before doing a volley of bpexpdate commands.

Nicolai
Moderator
Moderator
Partner    VIP   

The best way to gain a "best practice" is to use the bpexpdate command in a test environment until you fully understand how the command work and how to use it parameters.

There is no document from Symantec that dictate what to do and what not to do.

Best Regards

Nicolai

Marianne
Level 6
Partner    VIP    Accredited Certified

bpexpdate should NEVER be used to free up space on the master server.

bpexpdate should only be used to expire test backups or to extend/change retention levels of existing images according to business needs.

Catalog protection and management is explained in Admin Guide I. 

Use one of these methods to manage catalog space:

1. Verify image retention is according to business needs. Infinite retention levels is hardly ever necessary.

2. Provide additional disk space for catalogs. See Admin Guide I for instructions to move catalogs.

3. Use catalog compression (see Admin Guide I)

4. Do catalog archiving (see Admin Guide I)

 

 

Stumpr2
Level 6

hmmm...I didn't think about expiring images to belittle the catalog. I took the post for clearing space for new images on the storage units. There is strength in diversity :)

mph999
Level 6
Employee Accredited
There is no best practice doc that I am aware of, really Nicolai and Marianne covered it quite nicely, don't use it unless you are absolutely confident you have the correct images. A couple tip, in an effeort to give you somthing other than 'don't use it' ... If you do use it, never run it in a script that loops through images - instead, use a script that only geerates the commands for each image into another file. These can then be manually checked to be certain they are correct. You may have hear of the NOexpire touch file. This prevents NBU from expiring images, it should only be used when advised by Technical support and is an 'unsupported' command. It does however, NOT prevent bpexpdate from expiring images if run manually, and so offers no protection against manual expirations. Martin

Stumpr2
Level 6

Another option that is relatively safe may be to make duplicate image copies of the original image.

Use new expiration dates. This can be done using the bpduplicate command or use the GUI under the catalog section.

Once the copies are created then the original images may be expired.