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

Problem

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
 

ArgumentTypeNotes
0Standard 
1ProxyNetBackup internal use only
2Non-StandardNetBackup internal use only
3Apollo-wbakNo longer supported
4Oracle 
5Any policy typeNetBackup internal use only
6Informix-On-BAR 
7Sybase 
8MS-Sharepoint 
9MS-WindowsNot active - use MS-Windows-NT (13) for Windows 2000/NT/XP/2003 clients
10NetWare 
11DataTools-SQL-BackTrack  
12Auspex-FastBackup 
13MS-Windows-NT 
14OS/2 
15MS-SQL-Server 
16MS-Exchange-Server 
17SAP 
18DB2 
19NDMP 
20FlashBackup 
21Split-Mirror 
22AFS 
23DFSNot an active policy type
24DataStore 
25Lotus-Notes 
26NCR-TeradataNo longer supported - contact NCR to see if they provide an extension
27OpenVMS 
28MPE/iXNo longer supported
29FlashBackup-Windows 
30Vault 
31BE-MS-SQL-Server 
32BE-MS-Exchange-Server 
33MacintoshNot active - use Standard (0) for Macintosh OSX clients
34Disk Staging 
35NBU-Catalog 
36GenericNetBackup internal use only
37CMS_DB 
38PureDisk Export 
39Enterprise Vault 
40VMwareNetBackup 7.5 and later
41Hyper-VNetBackup 7.5 and later
42NBU-SearchNetBackup 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]
 

 


Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)