bplist [-A | -B] [-C client] [-S master_server] [-k policy] [-t policy_type] [-F] [-R [n]] [-b | -c | -u] [-l] [-r] [-flops options] [-Listseconds] [-T] [-unix_files] [-nt_files] [-s date] [-e date] [-I] [-PI] [-keyword keyword_phrase] [filename] [-Listpolicy]
On UNIX and Linux systems, the directory path to this command is /usr/openv/netbackup/bin/
The bplist command shows a list of previously archived or backed up files according to the options that you specify. You can choose the file or directory and the time period that you want the listing to cover. Directories can be recursively displayed to a specified depth. bplist shows only the files that you have read access to. It lists the files only if an administrator account performs the user backup.
You also must own or have read access to all directories in the file paths. You can list the files that were backed up or archived by another client only if the NetBackup administrator has validated you to do so.
If you create the following directory with public-write access, bplist creates a debug log file in this directory that you can use for troubleshooting:
UNIX and Linux systems: usr/openv/netbackup/logs/bplist/
0 = Standard
4 = Oracle
6 = Informix-On-BAR
7 = Sybase
8 = MS-SharePoint
10 = NetWare
13 = MS-Windows
14 = OS/2
15 = MS-SQL-Server
16 = MS-Exchange-Server
19 = NDMP
35 = NBU-Catalog
The following policy types apply only to NetBackup Enterprise Server.
11 = DataTools-SQL-BackTrack
17 = SAP
18 = DB2
20 = FlashBackup
21 = Split-Mirror
22 = AFS
25 = Lotus Notes
39 = Enterprise-Vault
-b displays the backup date and time of each file.
-c displays the last inode modification date and time (UNIX and Linux systems) or creation date and time (Windows systems) for each file.
-u displays the last access date and time of each file.
The default is to display the time of the last modification of each file.
d (specifies a directory)
l (specifies a link)
m (specifies a file that migrated by Veritas Storage Migrator for UNIX or Veritas Data Lifecycle Manager)
- (specifies a file)
The next nine characters show the three sets of permissions. The first set shows the ownercqs permissions, the next set shows the user-group permissions, and the last set shows permissions for all other users. Each set of three specifies the read, write, and execute permissions as follows:
r = the file is readable
w = the file is writable
x = the file is executable
- = the indicated permission is not granted
To list only Backup Exec files specify:
-flops 524288To list Backup Exec and NetBackup files specify:
-flops 1048576
-s specifies a start date and time for the listing. The resulting list shows only files in backups or the archives that occurred at or after the specified date and time.
The required date and time values format in NetBackup commands varies according to your locale. The /user/openv/msg/.conf file (UNIX and Linux) and the install_path\VERITAS\msg\LC.CONF file (Windows) contain information such as the date-time formats for each supported locale. The files contain specific instructions on how to add or modify the list of supported locales and formats.
More information is available about the locale of your system.
See the "Specifying the locale of the NetBackup installation" topic in the NetBackup Administrator's Guide, Volume II.
The valid range of dates is from 01/01/1970 00:00:00 to 01/19/2038 03:14:07. The default is the current date minus six months.
-e specifies an end date and time for the listing. The resulting list shows only files from the backups or the archives that occurred at or before the specified date and time. Use the same format for start date and time. The default is the current date and time.
UNIX and Linux systems:
/tmp/junk/test /abc/123/xxx/test /abc/123/xxx/yyy/zzz/test
You can use this option in place of or in combination with the other restore options to make it easier to restore backups and archives. Use the following meta-characters to help match keywords or parts of keywords in the phrase:
* matches any string of characters.
? matches any single character.
[ ] matches one of the sequence of characters that is specified within the brackets.
[ - ] matches one of the range of characters, that is separated by the "-".
The keyword phrase can be up to 128 characters in length. All printable characters are permitted including space ("") and period (".").
The phrase must be enclosed in double quotes ("...") or single quotes (oq...cq ).
The default keyword phrase is the null (empty) string.
For directories, if you do not use the -R option, include the trailing path separator as in the following:
UNIX and Linux systems: bplist -l "/home/user1/*"
If you use the asterisk meta-character (*), use quotation marks around the file name for the command to work properly.
Example 1 - List recursively in long format, the files that were backed up in /home/usr1 (UNIX and Linux) or D:\WS_RTP.LOG (Windows).
On UNIX and Linux systems:
# bplist -l -R /home/usr1 lrwxrwxrwx usr1;usr@ eng;None 0 Apr 28 12:25 /home/usr1/dirlink drwxr-xr-x usr1;usr@ eng;None 0 Apr 04 07:48 /home/usr1/testdir drwxr-x--- usr1;usr@ eng;None 0 Apr 04 07:49 /home/usr1/dir -rwxr----- usr1;usr@ eng;None 1002 Apr 02 09:59 /home/usr1/dir/file lrwxrwxrwx usr1;usr@ eng;None 0 Apr 04 07:49 /home/usr1/dir/link
Example 2 - List the files that were backed up and associated with all or part of the keyword phrase "MyHomeDirectory".
UNIX and Linux: # bplist -keyword "*MyHomeDirectory*" -l /home/kwc/
Example 3 - List the files that were archived and associated with all or part of the keyword phrase "MyHomeDirectory"
UNIX and Linux: # bplist -A -keyword "*MyHomeDirectory*" -l /home/kwc/
UNIX and Linux systems: /usr/openv/netbackup/logs/bplist/log.mmddyy
bp, bparchive, bpbackup, bprestore