The bpretlevel command (/usr/openv/netbackup/bin/admincmd/bpretlevel) allows you to review and change the retention levels set in NetBackup.
To change retention level 10 to be 5 days, you could use the command below:
/usr/openv/netbackup/bin/admincmd/bpretlevel -r 10 5 d
Valid time formats are:
n d n days
n w n weeks
n m n months
n y n years
infinite
To set the retention levels on a remote master server, you can use the -M flag like the example below:
/usr/openv/netbackup/bin/admincmd/bpretlevel -M master2.mydomain.com -r 12 9 w
This will set retention level 12 on master2.mydomain.com to be 9 weeks.