Now that we’ve got new tapes, and I’ve learned a bit more about NetBackup, I’ve got a working image duplication.
First, collect the backup IDs, using some variant of bpimagelist: bpimagelist -hoursago 120 -L -st FULL -client client. Collect the backup IDs in a file, one ID per line.
Choose a new retention level for the duplicates. This is the important part. If a retention level is not specified, it uses the one from the original, which (a) may not be what we want for off-site archives, and (b) if the retention levels differ amongst the images, they’ll be put on different tapes from the duplicates pool (if there are enough tapes available). Specifying the retention level allows us to put all of the user and business data from PACO and ROJ on the same tape.
Retention levels:
| level | retention time |
|---|---|
| 0 | 1 week |
| 1 | 2 weeks |
| 2 | 3 weeks |
| 3 | 1 month |
| 4 | 2 months |
| 5 | 3 months |
| 6 | 6 months |
| 7 | 9 months |
| 8 | 1 year |
| 9 | infinite |
| 10 or higher | immediate expiration |
The actual command for duplication is thus:
bpduplicate -Bidfile file -dstunit eyewi-hcart2-robot-tld-1 -L bpduplicate.log -mpx -rl level -v
Posted by Rowan Littell at December 14, 2004 09:10 AM