NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
    5.  
      IPV6 updates
  2. Appendix A. NetBackup Commands
    1.  
      acsd
    2.  
      backupdbtrace
    3.  
      backuptrace
    4.  
      bmrc
    5.  
      bmrconfig
    6.  
      bmrepadm
    7.  
      bmrprep
    8.  
      bmrs
    9.  
      bmrsrtadm
    10.  
      bp
    11.  
      bparchive
    12.  
      bpbackup
    13.  
      bpbackupdb
    14.  
      bpcatarc
    15.  
      bpcatlist
    16.  
      bpcatres
    17.  
      bpcatrm
    18.  
      bpcd
    19.  
      bpchangeprimary
    20.  
      bpcleanrestore
    21.  
      bpclient
    22.  
      bpclimagelist
    23.  
      bpclntcmd
    24.  
      bpclusterutil
    25.  
      bpcompatd
    26.  
      bpconfig
    27.  
      bpdbjobs
    28.  
      bpdbm
    29.  
      bpdgclone
    30.  
      bpdown
    31.  
      bpduplicate
    32.  
      bperror
    33.  
      bpexpdate
    34.  
      bpfis
    35.  
      bpflist
    36.  
      bpgetconfig
    37.  
      bpgetdebuglog
    38.  
      bpimage
    39.  
      bpimagelist
    40.  
      bpimmedia
    41.  
      bpimport
    42.  
      bpinst
    43.  
      bpkeyfile
    44.  
      bpkeyutil
    45.  
      bplabel
    46.  
      bplist
    47.  
      bpmedia
    48.  
      bpmedialist
    49.  
      bpminlicense
    50.  
      bpnbat
    51.  
      bpnbaz
    52.  
      bppficorr
    53.  
      bpplcatdrinfo
    54.  
      bpplclients
    55.  
      bppldelete
    56.  
      bpplinclude
    57.  
      bpplinfo
    58.  
      bppllist
    59.  
      bpplsched
    60.  
      bpplschedrep
    61.  
      bpplschedwin
    62.  
      bppolicynew
    63.  
      bpps
    64.  
      bprd
    65.  
      bprecover
    66.  
      bprestore
    67.  
      bpretlevel
    68.  
      bpschedule
    69.  
      bpschedulerep
    70.  
      bpsetconfig
    71.  
      bpstsinfo
    72.  
      bpstuadd
    73.  
      bpstudel
    74.  
      bpstulist
    75.  
      bpsturep
    76.  
      bptestbpcd
    77.  
      bptestnetconn
    78.  
      bpup
    79.  
      bpverify
    80.  
      cat_convert
    81.  
      cat_export
    82.  
      cat_import
    83.  
      configureCerts
    84.  
      configureMQ
    85.  
      configureWebServerCerts
    86.  
      create_nbdb
    87.  
      csconfig cldinstance
    88.  
      csconfig cldprovider
    89.  
      csconfig meter
    90.  
      csconfig reinitialize
    91.  
      csconfig throttle
    92.  
      duplicatetrace
    93.  
      importtrace
    94.  
      jbpSA
    95.  
      jnbSA
    96.  
      ltid
    97.  
      mklogdir
    98.  
      msdpcldutil
    99.  
      nbauditreport
    100.  
      nbcallhomeproxyconfig
    101.  
      nbcatsync
    102.  
      NBCC
    103.  
      NBCCR
    104.  
      nbcertcmd
    105.  
      nbcertupdater
    106.  
      nbcldutil
    107.  
      nbcmdrun
    108.  
      nbcomponentupdate
    109.  
      nbcplogs
    110.  
      nbcredkeyutil
    111.  
      nbdb_admin
    112.  
      nbdb_backup
    113.  
      nbdb_move
    114.  
      nbdb_ping
    115.  
      nbdb_restore
    116.  
      nbdb_unload
    117.  
      nbdb2adutl
    118.  
      nbdbms_start_server
    119.  
      nbdbms_start_stop
    120.  
      nbdc
    121.  
      nbdecommission
    122.  
      nbdelete
    123.  
      nbdeployutil
    124.  
      nbdevconfig
    125.  
      nbdevquery
    126.  
      nbdiscover
    127.  
      nbdna
    128.  
      nbemm
    129.  
      nbemmcmd
    130.  
      nbepicfile
    131.  
      nbfindfile
    132.  
      nbfirescan
    133.  
      nbfp
    134.  
      nbftadm
    135.  
      nbftconfig
    136.  
      nbgetconfig
    137.  
      nbhba
    138.  
      nbholdutil
    139.  
      nbhostidentity
    140.  
      nbhostmgmt
    141.  
      nbhypervtool
    142.  
      nbidpcmd
    143.  
      nbimageshare
    144.  
      nbinstallcmd
    145.  
      nbjm
    146.  
      nbkmiputil
    147.  
      nbkmscmd
    148.  
      nbkmsutil
    149.  
      nboraadm
    150.  
      nborair
    151.  
      nboracmd
    152.  
      nbpem
    153.  
      nbpemreq
    154.  
      nbmariadb
    155.  
      nbmlb
    156.  
      nbperfchk
    157.  
      nbplupgrade
    158.  
      nbrb
    159.  
      nbrbutil
    160.  
      nbreplicate
    161.  
      nbrepo
    162.  
      nbrestorevm
    163.  
      nbseccmd
    164.  
      nbserviceusercmd
    165.  
      nbsetconfig
    166.  
      nbshvault
    167.  
      nbsmartdiag
    168.  
      nbsnapimport
    169.  
      nbsnapreplicate
    170.  
      nbsqladm
    171.  
      nbsqlite
    172.  
      nbstl
    173.  
      nbstlutil
    174.  
      nbstop
    175.  
      nbsu
    176.  
      nbsvrgrp
    177.  
      netbackup_deployment_insights
    178.  
      resilient_clients
    179.  
      restoretrace
    180.  
      stopltid
    181.  
      tldd
    182.  
      tldcd
    183.  
      tpautoconf
    184.  
      tpclean
    185.  
      tpconfig
    186.  
      tpext
    187.  
      tpreq
    188.  
      tpunmount
    189.  
      verifytrace
    190.  
      vltadm
    191.  
      vltcontainers
    192.  
      vlteject
    193.  
      vltinject
    194.  
      vltoffsitemedia
    195.  
      vltopmenu
    196.  
      vltrun
    197.  
      vmadd
    198.  
      vmchange
    199.  
      vmcheckxxx
    200.  
      vmd
    201.  
      vmdelete
    202.  
      vmoprcmd
    203.  
      vmphyinv
    204.  
      vmpool
    205.  
      vmquery
    206.  
      vmrule
    207.  
      vmupdate
    208.  
      vnetd
    209.  
      vssat
    210.  
      vwcp_manage
    211.  
      vxlogcfg
    212.  
      vxlogmgr
    213.  
      vxlogview
    214.  
      W2KOption

Name

nbfindfile — search files or folders based on simple search criteria

SYNOPSIS

nbfindfile -c client_name[,...] -p search_pattern[-s mm/dd/yyyy[hh:mm:ss] | -s_ut unix_time] [-e mm/dd/yyyy [hh:mm:ss] | -e_ut unix_time] [-backupid backup_id] [-policy policy_name] [-keyword "keyword_phrase"] [-extn file_extn[,...]] [-st sched_type] [-pt policy_type] [-kb_min min_size_kb] [-kb_max max_size_kb] [-mtime_min mm/dd/yyyy [hh:mm:ss]] [-mtime_max mm/dd/yyyy [hh:mm:ss]] [-atime_min mm/dd/yyyy [hh:mm:ss]] [-atime_max mm/dd/yyyy [hh:mm:ss]] [-ctime_min mm/dd/yyyy [hh:mm:ss]] [-ctime_max mm/dd/yyyy [hh:mm:ss]] [-only_dirs | -only_files] [-max_results number] [-case_sen] [-l [-ctime | -atime] | -raw] [-help | -h]

 

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/admincmd/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\admincmd\

DESCRIPTION

The nbfindfile command lets you search files or folders based on simple search criteria like file name and path including wildcard and backup date range. Users can specify a set of clients, possibly belonging to different master servers, for which backups are to be searched. You can specify advanced search criteria including policy type, schedule type, policy name, policy associated keywords, file extensions, file modification date range, and file size.

OPTIONS

-atime

Displays the last access time of objects in place of the last modification time. Requires the -l option.

-atime_max mm/dd/yyyy [hh:mm:ss]

Specifies the maximum last access time of objects to be returned. The default is infinite.

-atime_min mm/dd/yyyy [hh:mm:ss]

Specifies the minimum last access time of objects to be returned. The default is 01/01/1970 00:00:00.

-backupid backup_id

The backup ID of the backup image that should be searched.

-c client_name[,...]

Specifies the names of the NetBackup clients whose backups need to be searched. The client names must be specified as they appear in the NetBackup configuration. Multiple clients can be specified as a list that is separated by commas.

-case_sen

Performs case sensitive matching.

-ctime

Displays the last change time of objects in place of the last modification time. Requires the -l option.

-ctime_max mm/dd/yyyy [hh:mm:ss]

Specifies the maximum last change time of objects to be returned. The default is infinite.

-ctime_min mm/dd/yyyy [hh:mm:ss]

Specifies the minimum last change time of objects to be returned. The default is 01/01/1970 00:00:00.

-e mm/dd/yyyy [hh:mm:ss] | -e_ut unix_time

Specifies the end date for the search. Backups that occurred at or before the specified date and time are searched. The default is the current date and time.

-extn file_extn[,...]

Returns only the files with the specified extensions. For example, -extn txt,do*,jp?.

-h | -help

Displays usage information.

-kb_max max_size_kb

Specifies the maximum size in kilobytes (1024 bytes) of files to be returned. The default is infinite.

-kb_min min_size_kb

Specifies the minimum size in kilobytes (1024 bytes) of files to be returned. The default is 0 (zero).

-keyword "keyword_phrase"

Searches only the backup images that contain a matching keyword phrase are searched. The keyword phrase can contain wildcards (*, ?) and square bracket expressions. Examples are [Kk]ey*, [a-z]e?, and [!K]ey.

-l

Displays output in long list format. The last modification time of objects is shown by default.

-max_results number

Specifies the maximum number of results to be displayed. The default is infinite.

-mtime_max mm/dd/yyyy [hh:mm:ss]

Specifies the maximum last modification time of objects to be returned. The default is infinite.

-mtime_min mm/dd/yyyy [hh:mm:ss]

Specifies the minimum last modification time of objects to be returned. The default is 01/01/1970 00:00:00.

-only_dirs | -only_files

Specifies the type of objects to be returned.

-p search_pattern

Specifies the search pattern. File and directory entries matching this pattern are displayed.

-policy policy_name

Searches only the backup images that are created using the specified policy.

-pt policy_type

Searches only the backups with the specified policy type. Valid values for policy_type: Any, Standard, FlashBackup, MS-Windows, NDMP, FlashBackup-Windows.

-r

Displays raw output.

-s mm/dd/yyyy [hh:mm:ss] | -s_ut unix_time

Specifies the start date for the search. Backups that occurred at or after the specified date and time are searched. The default is 30 days before the end date.

-st sched_type

Specifies a schedule type for the image selection. The default is any schedule type. Valid values, in either uppercase or lowercase, are as follows:

  • ANY

  • FULL (full backup)

  • INCR (differential-incremental backup)

  • CINC (cumulative-incremental backup)

  • UBAK (user backup)

  • UARC (user archive)

  • SCHED

  • USER (user backup and user archive)

  • NOT_ARCHIVE (all backups except user archive)