NetBackup II

  1. Command to check Drive Usage
    · /usr/openv/volmgr/bin/vmoprcmd -d
  2. Process to take a Drive Down
    /usr/openv/volmgr/vmoprcmd -down

    /usr/openv/volmgr/vmoprcmd -up
  3. Process to Perform a Restore
    From the GUI

    • o user backup & restore --> configuration --> client
    • o user backup & restore --> configuration --> client to restore
    • o directory to search
    • o directory depth
    • o date range o file --> browse backups for restore
  4. Adding New Tapes to the Library · Using the GUI
    • o Media Management --> Actions --> New --> Single Volume . . -->
    • o Media Type (ie DLT)
    • o Robot Type (ie TLD) o Media ID (from Inventory)
    • o Slot Number (from Inventory)
    • o Robot Number (ie 0)
    • o Volume Group
    • o Volume Pool (ie Scratch)
  5. Adding New Tapes to the Library - Using the CLI
    • o vmadd -m -mt -verbose -rt tld -b -rn -rc1 -p -mm
    • § vmpool -listall --> lists all pools, both name and number
    • o For example: vmadd -m Q100L1 -mt hcart -verbose -rt tld -b ECQ100L1 -rn 0 -rc1 8 -p 2 -mm 0
  6. Re-using Tapes from other systems or older Netbackups · Expire the media
    • o bpexpdate -ev MEDIA_ID -d 0 -force -host HOST
    • · Deassign the media
    • o vmquery -deassignbyid MEDIA_ID 4 0
    • · Move to the scratch pool
    • o vmchange -m MEDIA_ID -p POOL#
    • · Relabel the media
    • o bplabel -ev EVA019 -d 8mm -p Scratch
  7. Changing the attributes of media
    • · Changing the barcode
    • o vmchange -barcode CYM100D -m CYM100
    • · Changing the Volume Pool
    • o vmchange -m MEDIA_ID -p POOL#
  8. Command To expire media
    · bpexpdate -ev -d 0 -force -host
  9. Command To unfreeze media
    • · List the frozen media
    • o /usr/openv/netbackup/bin/goodies/available_media | grep -i FROZEN
    • · Unfreeze the media
    • o bpmedia -unfreeze -ev -h
  10. How To Relabel a Tape
    • · bplabel -ev -d -p
    • · bplabel -ev 000687 -d hcart -p TriVrgt_OFFSITE
  11. Process To remove media from the Netbackup database
    • · Verify that there are no images on the tape
    • o bpimmedia -mediaid 000687 -L
    • · Expire the tape
    • o bpexpdate -ev 000687 -d 0 -host scorpius -force
    • · Get the status and pool number of the tape
    • o vmquery -m 000687
    • · Deassign the tape
    • o vmquery -deassignbyid o vmquery -deassignbyid 000687 4 0x0
    • · Delete the tape
    • o vmdelete -m 000687
  12. Installing the Netbackup Client
    • · /update_clients -ForceInstall -ClientList /tmp/clients.lst
    • o requires that TMPDIR and TEMPDIR be set correctly
  13. Process for Excludng files from backup on a client
    • · Create /usr/openv/netbackup/exclude_list
    • · Put the file specifications of the files/directories to be excluded
    • o /mnt/directory/*
  14. Commands for Displaying Information about a Tape
    • · vmquery -m --> Displays attributes about a particular tape
    • · bpmedialist -U -mcontents -ev 000687 --> Displays media contents
    • · bpmedialist -U -mlist --> List of all media
    • · bpmedialist -U -mlist -ev CYM966 --> Listing of a particular media id
    • · bpimmedia -mediaid 000687 -L --> Listing of images on a tape
  15. Robtest Commands
    • Starting robtest
    • o robtest
    • o 1 --> to select TLD 0
    • · Getting help
    • o ?
    • · Looking at contents of the tape drives
    • o s d
    • · Looking at the contents of the library
    • o s s
    • · Moving a tape from a drive to a library slot
    • o s d --> to identify drive number that has tape (Contains Cartridge = yes, Barcode=XXXXXX)
    • o s s --> to identify an empty slot in the tape library (Netbackup will need to be re-inventoried)
    • o m d# s# --> from from drive # to slot #
    • o s d --> verify the tape drive is empty
    • o s s --> verify the library slot has the tape
Author
josie9574
ID
62894
Card Set
NetBackup II
Description
Commands Used in NetBackup Support
Updated