cancel
Showing results for 
Search instead for 
Did you mean: 

unable to recover list of files inside backup job

CUN_netbackup
Level 3


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

1 ACCEPTED SOLUTION

Accepted Solutions

CUN_netbackup
Level 3

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.

View solution in original post

6 REPLIES 6

Marianne
Level 6
Partner    VIP    Accredited Certified

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

Thiago_Ribeiro
Moderator
Moderator
Partner    VIP    Accredited
Hi, Did you try to make this research change the date?

Lowell_Palecek
Level 6
Employee

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?

 

Marianne
Level 6
Partner    VIP    Accredited Certified

@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
Moderator
Moderator
   VIP    Certified

Was not your NBU catalog archived??

play around with bpcatlist command...

CUN_netbackup
Level 3

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.