cancel
Showing results for 
Search instead for 
Did you mean: 

bpexpdate fails

nataras
Level 2
Hi,
I run nbu 5.1mp4, when i do an retention of the image exension, i get the following error messages:
 
premaure eof encountered.
Can you help me pls.
Regards,
5 REPLIES 5

Chia_Tan_Beng
Level 6
Hi Nataras,
 
What is the exact command you executed?
Remember that the date syntax for bpexpdate is month/day/year:
 
bpexpdate: -m <media id> -d <mm/dd/yyyy HH:MM:SS | 0 | infinity>
            [-host <name>] [-force]
            [-M <master_server,...,master_server>]
bpexpdate: -deassignempty [-m <media id>] [-host <name>] [-force]
            [-M <master_server,...,master_server>]
bpexpdate: -backupid <backup id> -d <mm/dd/yyyy HH:MM:SS | 0 | infinity>
            [-client <name>] [-copy <number>] [-force]
            [-M <master_server,...,master_server>]
bpexpdate: -recalculate [-backupid <backup id>] [-copy <number>]
            [-d <mm/dd/yyyy HH:MM:SS | 0 | infinity>] [-client <name>]
            [-policy <name>] [-ret <retention level>] [-sched <type>]
            [-M <master_server,...,master_server>]
       legal values for sched: 0=full,1=differential incr,2=user,3=arch
                               4=cumulative incr
 

Omar_Villa
Level 6
Employee
 

Omar_Villa
Level 6
Employee

nataras
Level 2
Hi,
I used the format
bpexpdate: -recalculate  & also i used the mm/dd/yy format.
Any ideas?

Chia_Tan_Beng
Level 6
Try using bpexpdate without -recalculate
Example:
bpexpdate -backupid <xxxxxxxxx> -d mm/dd/yy
 
Seems like with -recalculate, the expiration date supplied has to be greater than the current expiration of the media ID.