Anyway, how do you do this without screwing up the wallet.dat file? There has been so much stuff added to Bitcoin Core.
Load it using "
File->Restore" and it'll be copied to the correct folder then it will be loaded automatically.
Migrating a legacy to descriptor wallet isn't mandatory as of now.
After that, export the wallet's addresses or public keys (
for p2pkh) or redeem scripts if you have any (
for P2SH, rarely used in 2013).
One way to do that is to use
dumpwallet command but
addresstype=legacy has to be added to your bitcoin.conf file (
requires restart) for it to output legacy addresses.
I want to use the new psbt method, but I don't know how to select specific utxos in Coin Control and put it into a psbt file.
You'll need a watch-only wallet in your online Bitcoin Core for that.
Create one by ticking "
Disable Private Keys" during Create Wallet process.
You can then import the addresses, public keys or redeem scripts contained in your offline Bitcoin Core wallet via
importdescriptors command.
References for you to check how to use it:
(
this part is tedious since your wallet isn't HD, you wont be able to utilize extended public keys)
Rescan the wallet/sync the node, then tick "
Enable coin-control features" in the 'Settings->Options' and you'll be able to select specific UTXO in the 'Send' tab.
Using the 'Send' tab of you watch-only wallet will let you create a PSBT that you can send to your offline wallet.