Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

NB command to display expirations of all backup copies

Created: 23 Sep 2010 | 5 comments
Thomas Anthony's picture
0 0 Votes
Login to vote

Is the a NB 6.5.x command to display expirations of all backup copies ?

We have Solaris clients with file system backups configured to go to local disk (retention 4 weeks), then duplicate the backups to a remote disk (retention 4 weeks), and then archive the remote backups to tape (retention 1 year).

We're looking for an easy way to list the backup image assigned retentions and upcoming expiration date for selected clients.

Thanks for any ideas on how to do this

 

Comments

Andy Welburn's picture
23
Sep
2010
2 Votes +2
Login to vote

Have you looked at bpimmedia?

NAME
     bpimmedia - display information about  NetBackup  images  on
     media

SYNOPSIS
     /usr/openv/netbackup/bin/admincmd/bpimmedia        -disk_stu
          storage_unit_label | -dt disk_type | -stype server_type
          [-dp disk_pool_name [-dv disk_volume]] [-l | -L] [-disk
          |  -tape]  [-policy  policy_name] [-client client_name]
          [-d date time] [-e  date  time]  [-mediaid  media_id  |
          path_name]  [-mtype  image_type]  [-option option_name]
          [-rl  retlevel]  [-sl  sched_label]   [-t   sched_type]
          [-legacy] [-M master_server...] [-verbose]

     /usr/openv/netbackup/bin/admincmd/bpimmedia -spanpools  [-cn
          copy_number] [-mediaid media_id] [-U]

Regards Andy

"It's not too late to panic ..."

Nicolai's picture
24
Sep
2010
1 Vote +1
Login to vote

bpimagelist

bpimagelist can do the job (as well ??)

bpimagelist will list all information about the backup including the experation of each backup

Hint:  http://www.symantec.com/business/support/index?pag...

Look for field 17 in the FRAG entry.

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

Thomas Anthony's picture
26
Sep
2010
0 Votes 0
Login to vote

command(s) to list all 3 expirations of a backup

I've tried different options of both of the commands bpimagelist and bpimmedia but have not been able to list the 3 expirations of a selected backup and all 3 of the backup copies.

The commands and combination of options I've run only return the expiration of the original backup to local disk, and not the exipiration of the remote duplication to disk, or the expiration of the remote duplication to tape.

I'm looking for a command or combination of commands to list all 3 expirations.

As always, thanks for everyone's help

Nicolai's picture
27
Sep
2010
0 Votes 0
Login to vote

Post imagelist output

Redirect the the output from bpimagelist to a file and post.

 

Are you using Storage Lifecycle Policy's to do the duplication ?

Assumption is the mother of all mess ups.

If this post solved you’re questions please send a gratitude by marking it as a solution.

 

Stefanos Monovasios's picture
27
Sep
2010
0 Votes 0
Login to vote

bpimmedia  -L is what you

bpimmedia  -L is what you want.

Also bpimagelist -L can do your work.

stefanos