This question basically pertains to where monero-blockchain-import
stores the imported blockchain by default. monero-blockchain-import
uses the following default directories to store the imported blockchain:
Windows:
C:\ProgramData\bitmonero\lmdb
Linux and Mac OS X:
~/.bitmonero/lmdb
Note that, by default, both C:\ProgramData\bitmonero\lmdb
and ~/.bitmonero/lmdb
are hidden directories. On Windows, you have to use the explorer to manually navigate to aforementioned directory. On Mac OS X, you can typically use cmd+shift+. to unhide directories. On Linux, you can typically use ctrl+H to unhide directories.
Where do delete the files that were created during the failed bootstrapping?
Thus, to delete redundant data, you should delete aforementioned directory.
monero-blockchain-import
also allows one to import the blockchain to a custom data directory. This is done as follows:
Windows:
Open a new command prompt from the same directory as monero-blockchain-import.exe
. This is done by first making sure your cursor isn't located on any of the files and subsequently doing SHIFT + right click. It will give you an option to "Open command window here". If you're using Windows 10, it'll, most likely, give you an option to open the Powershell.
Subsequently, type the following command in the command prompt:
monero-blockchain-import.exe --input-file path\to\blockchain.raw --data-dir path\to\preferred\data\directory
If that doesn't work in the Powershell, type:
.\monero-blockchain-import.exe --input-file path\to\blockchain.raw --data-dir path\to\preferred\data\directory
If that doesn't work either in the Powershell, type:
./monero-blockchain-import.exe --input-file path\to\blockchain.raw --data-dir path\to\preferred\data\directory
Linux and Mac OS X:
Open a new terminal from the same directory as monero-blockchain-import
.
Sidenote: On Mac OS X, you probably can only open a terminal from the desktop. As a result, you have to use cd
to navigate to the directory of monero-blockchain-import
first. For example, if monero-blockchain-import
is located in ~/Applications/monero-wallet-gui.app/Contents/MacOS
you'd have to type cd ~/Applications/monero-wallet-gui.app/Contents/MacOS
to ensure the terminal is in the proper directory.
Subsequently, type the following command in the terminal.
./monero-blockchain-import --input-file path/to/blockchain.raw --data-dir path/to/preferred/data/directory
Where do delete the files that were created during the failed bootstrapping?
Thus, if you used the --data-dir
flag, you should delete the directory you specified to delete redundant data.