DOCUMENTATION: A listing of policy types and how they are used with bplist and other commands.

Article:TECH27299  |  Created: 2003-01-05  |  Updated: 2013-12-30  |  Article URL http://www.symantec.com/docs/TECH27299
Article Type
Technical Solution

Product(s)

Environment

Issue



DOCUMENTATION: A listing of policy types and how they are used with bplist and other commands.


Solution



Manual(s):
NetBackup (tm) 7.0 Commands
NetBackup (tm) 7.1 Commands Reference Guide
NetBackup (tm) 7.5 Commands Reference Guide
NetBackup (tm) 7.6 Commands Reference Guide

Page(s):  Chapter 1 (bplist, bpbackup, bprestore, bparchive)

Modification Type:  Supplement

Modification:
Commands such as bplist, bpbackup, bprestore, bparchive will accept the policy type as a command line argument.  A listing of policy types can be found under the description of the -t command line option in the man page for the command in the NetBackup Commands Reference Guide, or in Table 1.

Table 1 - Policy Types
 

Argument Type Notes
0 Standard  
1 Proxy NetBackup internal use only
2 Non-Standard NetBackup internal use only
3 Apollo-wbak No longer supported
4 Oracle  
5 Any policy type NetBackup internal use only
6 Informix-On-BAR  
7 Sybase  
8 MS-Sharepoint  
9 MS-Windows Not active - use MS-Windows-NT (13) for Windows 2000/NT/XP/2003 clients
10 NetWare  
11 DataTools-SQL-BackTrack   
12 Auspex-FastBackup  
13 MS-Windows-NT  
14 OS/2  
15 MS-SQL-Server  
16 MS-Exchange-Server  
17 SAP  
18 DB2  
19 NDMP  
20 FlashBackup  
21 Split-Mirror  
22 AFS  
23 DFS Not an active policy type
24 DataStore  
25 Lotus-Notes  
26 NCR-Teradata No longer supported - contact NCR to see if they provide an extension
27 OpenVMS  
28 MPE/iX No longer supported
29 FlashBackup-Windows  
30 Vault  
31 BE-MS-SQL-Server  
32 BE-MS-Exchange-Server  
33 Macintosh Not active - use Standard (0) for Macintosh OSX clients
34 Disk Staging  
35 NBU-Catalog  
36 Generic NetBackup internal use only
37 CMS_DB  
38 PureDisk Export  
39 Enterprise Vault  
40 VMware NetBackup 7.5 and later
41 Hyper-V NetBackup 7.5 and later
42 NBU-Search NetBackup 7.5 and later



These policy types can be passed, by using the "-t <policy_type>" command line option, to commands such as bplist, bpbackup, bprestore, bparchive.  

The bplist command, for example, is dependent on this option to properly search for files.  The bplist command can be used to show files and directories that have been backed up.  When bplist is executed, a set of command line arguments and a path or file name need to be provided.  The bplist command can fail with a Status 227 if the default policy type (0 = Standard) does not match the policy type used to backup the files.

A UNIX user's home directory backed up on October 27, 2005 can be shown with a bplist query as follows:

# /usr/openv/netbackup/bin/bplist -C <client> -R -t 0 -s 10/27/2005 -e 10/28/2005 /export/uxuser

A Windows user's home data directory backed up on October 27, 2005 can be shown with a bplist query as follows - note the policy type used on the command line is 13 (MS-Windows-NT):

% cd "C:\Program Files\VERITAS\NetBackup\bin"
% bplist -C <client> -R -t 13 -s 10/27/2005 -e 10/28/2005 -nt_files /C/Documents\ and\ Settings/owner/My\ Documents

Some other useful flags for the bplist command to search for files are as follows:

For UNIX clients:
The -unix_files argument affects only the output format of the bplist command.  The -unix_files argument is a default setting.  This will display a directory name - for example:
/C/Documents and Settings/owner/My Documents

For Windows clients:
The -nt_files argument affects only the output format of the bplist command.  This will display a directory name - for example:
C:\Documents and Settings\owner\My Documents

The -PI argument specifies a path-independent search.  This means that NetBackup searches for a specified file or directory without regard to its path.  For example, if a file named foo exists in three directories and a directory named foo exists in yet another location, bplist will show all of these references:
/export/uxuser/wip/foo/about
/export/uxuser/wip/foo/ag
/export/uxuser/wip/foo/dochome
/export/uxuser/wip/foo/index.map
/export/uxuser/wip/foo/topics.htm
/export/uxuser/wip/foo/figure1.jpg
/export/uxuser/wip/foo/figure2.jpg
/usr/share/audio/samples/foo
/usr/share/ds5/foo
/var/tmp/foo

The following is the usage statement for the bplist command:

Usage:

bplist [-A | -B] [-C client] [-S master_server]
[-t policy_type] [-k policy] [-keyword "keyword phrase"]
[-F] [-R [n]] [-b | -c | -u] [-l] [-Listpolicy] [-Listseconds]
[-r] [-T] [-I] [-PI] [-unix_files | -nt_files] [-flops file_options]
[-granular_proxy granular_proxy_client] -s mm/dd/yyyy  [HH:MM:SS]] [-e mm/dd/yyyy  [HH:MM:SS]] [filename]
 

 




Legacy ID



261264


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


Terms of use for this information are found in Legal Notices