DOCUMENTATION: What is the length (in days) of a one month retention level, and how can it be determined with the bpretlevel command?

Article:TECH32538  |  Created: 2007-01-14  |  Updated: 2013-10-23  |  Article URL http://www.symantec.com/docs/TECH32538
Article Type
Technical Solution

Product(s)

Environment

Issue



DOCUMENTATION: What is the length (in days) of a one month retention level, and how can it be determined with the bpretlevel command?

Solution



Manual: NetBackup Commands Guide, Page: N/A

Modification Type: Addition

Modification:
By default, the retention level of one month is 31 days, however, this can be changed.  See the related documents sections for information on changing the retention period of retention levels.  

To determine the number of days for a given retention level, use the bpretlevel command (found in /usr/openv/netbackup/bin/admincmd for UNIX/Linux machines or <install_path>\veritas\netbackup\bin\admincmd for Windows machines).

Use either the "l" or "U" switches to list the retention levels.  


# bpretlevel -l
0 604800 1 week
1 1209600 2 weeks
2 1814400 3 weeks
3 2678400 1 month
4 5356800 2 months
5 8035200 3 months
6 16070400 6 months
7 24105600 9 months
8 31536000 1 year
9 2147483647 infinite
10 2147483647 infinite
11 2147483647 infinite
12 2147483647 infinite

C:\VERITAS\NetBackup\bin\admincmd>bpretlevel -U

 Level  Days  Label
   0       7  1 week
   1      14  2 weeks
   2      21  3 weeks
   3      31  1 month
   4      62  2 months
   5      93  3 months
   6     186  6 months
   7     279  9 months
   8     365  1 year
   9   24855  infinity
  10   24855  infinity

The "-l" switch lists the time for each retention level in seconds.  Divide the number in the second column by 86400 (total number of seconds in a day) to get the number of days for a given retention level.  In this case, a retention level 3 is 1 month, which is 2678400 seconds, or 31 days.

Other switches for the bpretlevel include:

      -s   Short listing
      -l   Condensed listing
      -L   Long listing
      -U   User listing
      -r   level period - Change the retention period for a retention level
      -d   Restore default retention periods for all retention levels





Legacy ID



268609


Article URL http://www.symantec.com/docs/TECH32538


Terms of use for this information are found in Legal Notices