Does anyone know why I can't dump info into a text file?
It also doesn't allow me to back up my wallet.
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIf you installed Bitcoin Core via Snap, then you can easily dump your wallet keys to snap/bitcoin-core/common/
directory, like
dumpwallet /home/alex/snap/bitcoin-core/common/walletdump.txt
In case of success, you'll see the following response:
{
"filename": "/home/alex/snap/bitcoin-core/common/walletdump.txt"
}
To fix this on Windows I had to specify the full path to a folder, and it could not be inside Program Files. This full path worked
C:\Users\me\Desktop\temp\test
Last time it happened to me, it was because the user of bitcoind didn't have the write permission in the dir I tried to dump the backup.
I think you should check the permission for the bitcoin directory, or try to change the path where to dump your wallet backup and see if it still fails.