Once you safely obtain a copy:
| Error | Meaning |
|-------|---------|
| BDB0060 DB_RUNRECOVERY | Index corrupt – run bitcoind -salvagewallet |
| Wallet file verification failed | Index mismatch – restore from backup |
| Keypool read error | Reserve key index invalid – reindex with -reindex | indexofbitcoinwalletdat
# Install Berkeley DB tools (Ubuntu/Debian)
sudo apt install db-util