We have a 'backup wallet' option in the menu. However, we don't have a 'restore wallet'.
There are some difficulties here:
- Requires a partial rescan (= trouble with pruning)
- If no keys have been used in the current wallet, it could simply replace the current wallet. However if the current wallet was already used, it is more complicated:
- It could refuse in this case
- Move the old wallet out of the way
- Or try to perform a merge
This may have be easier with multi-wallet support, where it could copy the backup into the data directory and open it as extra wallet.
See also #7675.