Nickolay_L_
14 years agoLevel 3
bperror command type codes specification existence
Colleagues!
Lets' consider bperror -media -l -columns <many> -M <masterServer> command output:
1253343607 1 1668 4 <servername> 4832 4832 0 <clientname> bptm begin writing backup id <long_and_sca...
- 14 years ago
The number is a decimal representation of a hexadecimal value obtained by doing an OR against these values here:
MTUNKNOWN 0x01 MTGENERAL 0x02 MTBACKUP 0x04 MTARCHIVE 0x08 MTRETRIEVE 0x10 MTSECURITY 0x20 MTBACKSTAT 0x40 MTMEDIADEV 0x80 MTTAPE 0x100 MTDISK 0x200 MTBASICDISK 0x400 MTNEARSTORE 0x800 MTSNAPVAULT 0x1000 MTPUREDISK 0x4000 MTSTSDYNAMIC 0x8000 MTVBRSTAT 0x10000
So translating 1668, for example = 0x684, so these four types are set for this message:
MTBASICDISK (0x400) MTDISK (0x200) MTMEDIADEV (0x80) MTBACKUP (0x04)
I think we use them for filtering when you use other command line switches, amongst other purposes, but I don't know how helpful they actually are for you. I don't think they're matching what you thought they were matching. Anyway, that's what they are. Hope this helps! :)