Forum Discussion
You cannot change volume pool or delete a media id while there are vailid, unexpired backups on the tape.
PS:
You stopped responding to this post where you were warned against creating a pool for each day:
everyday backup to difference tape
This is bad practice. You will end up using lots of tapes and see status 96 on a regular basis...
- Yip_Jack8 years agoLevel 4
Marianne, thanks to reply me.
Do you mean i need to set it the media as invalid then only can delete ?or never delete it?
what happen if the tape is broke? then how can i delete it? using command to force delete the media ID?im thinking, currently i have 7 days schedule to backup to different tape, and each day i will take out the tape and replace another disk and assign to Vol pools.
example:
Monday 7pm runt he backup n store the file into Media Tape1 under Monday_Vol_pools
Next day morning (tuesday), i will take out the Media tape1(slot1) to DC to keep.and i will backup another new disk to slot1. In the Monday_Vol_pool i will add on another Media Tape8(slot 1)i have closed that "everyday backup to difference tape " ticket. thanks.
Thanks and Regards
Yip- Marianne8 years agoLevel 6
Every backup that is written to tape gets an expiration date that is determined by the Retention Level that is selected in the backup schedule.
So, once a backup is written to tape XYZ001 in Monday pool, it must be kept until the date the backups expire.
You can expire the backups manually -
bpexpdate -m XYZ0001 -d 0The tape can now be deleted or moved to another pool.
PLEASE understand the risk when you use bpexpdate command - the tape can be overwritten and data can no longer be restored.
You really don't need to micro manage NetBackup by adding pools for each day or by putting tapes into specific slots.
NetBackup knows where it has written each backup. When you need to restore, NBU will tell you which tape was used for the backup.
Allow NetBackup to manage your media - it does a good job doing so. - Genericus8 years agoModerator
IF what you want is to make each days backup be on a separate tape, for some corporate reason, you can do this many ways.
1. use Vault and eject tapes daily - I do this
2. script a report that determines tapes written and use command line to change the tapes to suspended. Tapes that are frozen or suspended will not be written to again.
Your actual question - regarding moving media? You cannot change volume pools on media that have valid images on them. To move the media, you need to expire the images, and then deassign them. They should go back to scratch or be available to move at that time.
Related Content
- 14 years ago
- 7 months ago
- 3 years ago
- 4 years ago