Video Screencast Help

Backup Tape Expire issue

Created: 15 Jul 2012 • Updated: 15 Oct 2012 | 10 comments
This issue has been solved. See solution.

While Backup Tape has been Expired, it manually clean by our side. Same issue has occured after upgrade the version from 7.0 to 7.0.1. Before that this activity is running automatically.

So need the help on it.

Comments 10 CommentsJump to latest comment

honey_jack's picture

Hope the attach forum link help you

https://www-secure.symantec.com/connect/forums/netbackup-does-not-clean-expired-images-0

Thanks & Regard

Honey Jack

 

If your issue has been solved, please use the "Mark as Solution" for the valid thread.

honey_jack's picture

one more link found

after upgrading a Windows master server to 7.0.1. Image Cleanup completes (Status 0) but is not expiring images.

http://www.symantec.com/business/support/index?page=content&id=TECH138266

Thanks & Regard

Honey Jack

 

If your issue has been solved, please use the "Mark as Solution" for the valid thread.

SOLUTION
pathi's picture

I have installed the patch but sill issue pending

mph999's picture

honet_jack has found some good links, but I think these are mainly disk based, you are talking about tape.

Please try the following.

command list (DO NOT RUN THESE YET)

1. bpmedialist -m <media id of tape>

2. bptm -delete_all_expired

3. bpexpdate -deassignempty

On a tape that you say should be expired, but is not run command 1.

Do you see it saying the tape is EXPIRED

If not, then it is not the issue I am thinking of.  If it does, then continue.

Run command 2.

Run command 1.  Does it now show that the tape is not in the database.

If the tape is still showing, and still shows as EXPIRED, run command 3.

Now run command 1. again, is the tape now showing as not available in the database.

Basically, I think the issue is this.

When all images on a tape expire, the tape will expire, but ONLY when bptm -delete_all_expired runs, which is every 10 minutes.  You do not see this job run, it is in the background.

At some versions, there is an issue, the bptm command runs, but does not work.

When the NBU image cleanup runs, (every 12 hrs by default) it runs multiple commmads, one is bpexpdate -deassignempty.  This does work and will expire the tapes.

I think there is an EEB for this, but most people just run bpexpdate -deassignempty from cron or windows scheduler.

If people have many tapes, and lots spare, although they may have the issue, they never see it, as they do not notice a few tapes not expiring quite on time.  It is only reported by people with a few tapes usually, as it is easier to spot in a small environment.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
pathi's picture

Hi mpph999 - is their any link for same. Is this solution will come permanently help?

mph999's picture

No link, I just want to see what is going on.

My post is NOT a fix, it is troubleshooting.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
pathi's picture

Actually i not understand it properly..

Marianne's picture

What about steps in this post do you not understand?

https://www-secure.symantec.com/connect/forums/backup-tape-expire-issue#comment-7400291

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

mph999's picture

I can't explain it any more simply than I have.

Follow the steps and answer the questions as you go along.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
pathi's picture

Sorry but confirmed from Team last time due to patch management activity mention link patch not installed but after 3-4 days of installation of this patch tape is getting clean auto.

http://www.symantec.com/business/support/index?page=content&id=TECH138266