cancel
Showing results for 
Search instead for 
Did you mean: 

lengthen the expiry date on tape

Blazer_2
Level 3

Dear All,

 

Any command can be used to lengthen the expiry date on tape to "never expiry" or even longer in which the tape contains image.

 

Regards,

Blazer

1 ACCEPTED SOLUTION

Accepted Solutions

Stumpr2
Level 6

You can use either.

I prefer the simpler way, especially when doing a large number of tapes.

There is a -force option whch does the command without prompting for a y/n answer.

 

View solution in original post

7 REPLIES 7

Roobix_Cube
Level 5
DOCUMENTATION: Ways to change expiration date (retention levels) of media and backup IDs
 
install_path\NetBackup\bin\admincmd\bpexpdate -recalculate
[-backupid backup_id] [-copy number] -d date |0|infinity]
[-client name] [-policy name] [-ret retention_level]
[-sched type] [-M master_server[,...,]]

J_H_Is_gone
Level 6

are you talking about the expriation of a physical tape ( meaning the age of the physical tape that you want to stop using it).

 

or are you talking about the expriation date of a image on the tape.

 

these are two differnt things.

Blazer_2
Level 3

Dear all,

 

The situation is I forgot to select the retention period into "infinity" at the time when i duplicated my image on another tape. The duplicated copy at present is nearly to be expired and i just want to lengthen its expiry date to infinity so that i can use it for restoration at any time. Hope to find out the ultimate solution.

 

Regards,

Blazer

Stumpr2
Level 6

$INSTALL_DIR/netbackup/bin/admincmd/bpexpdate -d infinity -m <media id>

 

NOTE chane the / to a \ for widows Smiley Wink

 

 

Blazer_2
Level 3

Dear Bob,

 

Then what is the difference between for the following ? Would it be the same result if I use it instead ?

 

install_path\NetBackup\bin\admincmd\bpexpdate -recalculate

 

Blazer

 

Stumpr2
Level 6

You can use either.

I prefer the simpler way, especially when doing a large number of tapes.

There is a -force option whch does the command without prompting for a y/n answer.

 

Blazer_2
Level 3

Dear Bob,

 

Thanks for your help.

 

Blazer