Forum Discussion

CUN_netbackup's avatar
7 years ago

unable to recover list of files inside backup job


Hello,

Whenever I try run bplist with all possible parameters all I get is 227 exit error instantaneally. I cannot trace the error to any other log. For example:

# /usr/openv/netbackup/bin/admincmd/bpflist -v -d 01/01/2017 -e 03/01/2017 -policy Images_Full -client lnsvc01a -pt Standard -st FULL
<2>bpflist: INITIATING: version NetBackup 7.5 created: 2013020920
<2>bpflist: listing files
<16>fileslist: unexpected return value from db_FLISTreceive: no entity was found 227
<2>bpflist: EXIT status = 227
no entity was found

Thanks for any help

  • Thanks all for you great help!

    Finally we are going to extract file list directly from tapes using tar. Our netbackup version is not supported and this simple procedure is just ok in this case. Hopefully will have a brand new Netbackup install soon and will check this issue again with it.

  • CUN_netbackup

    Can you give us feedback regarding:

    1.  Schedule retentions?  
    2. bpimagelist for the same client and period?
    3. Policy config:
      bppllist Images_Full -U

    Status 227 means that one or more parameters in your command is incorrect.
    ALL parameters must be valid for bpdbm to locate backup info.

    So, you need to double-check all of the following:

    1. Date range: do you know for sure that there are valid, unexpired images for this period?
    2. Policy name: check for typo errors and verify Upper/lowercase
    3. Client name: Client1 != client1 != client1.fqdn
    4. Policy type as at time of backup
    5. Schedule type

    When troubleshooting 227, you may want to specify less options as a start.
    bpimagelist will confirm if there are valid, unexpired images in the catalog. 

    PS: 
    Which OS on the master? And do you have image compression in place?

    • quebek's avatar
      quebek
      Moderator

      Was not your NBU catalog archived??

      play around with bpcatlist command...

  • What was the retention on schedules between Jan and March?

    What happens when you list images (bpimagelist) for the same client and period?

    Please show us current config for policy Images_Full:
    bppllist Images_Full -U

  • 227 errors come from bpdbm (Database Manager) on the master server. They mean that a query did not find the requested objects.

    The following line was logged by bprd (Request Daemon) on the master server.:

    ><16>fileslist: unexpected return value from db_FLISTreceive: no entity was found 227

    The function db_FLISTreceive is part of the internal API that NetBackup processes use when communicating with bpdbm.

    All CLI commands go through bprd. In this case, bprd received the request and dispatched it to its fileslist function. That function made a query to bpdbm (likely Q_IMAGE_LIST_FILES in the bpdbm log) and called db_FLISTreceive to receive the results.

    All that tour of the logs aside, there are many reasons to not find what you're looking for. Have you tried bpclimagelist or the NetBackup console to check that you have backups that match your query? Have you tried cat_convert on a .f file corresponding to a backup that you're trying to flist?

     

  • Thanks all for you great help!

    Finally we are going to extract file list directly from tapes using tar. Our netbackup version is not supported and this simple procedure is just ok in this case. Hopefully will have a brand new Netbackup install soon and will check this issue again with it.