`wallet.dat` contains a secure file keeping all your coins. Taking a secure backup is the best way to keep your assets in your wallet.
Don’t forget to take the backup!
And Remember!
Your Privatekey is Your Coins! It is the key to your wallet. Do not share it with anyone and do not loose it!
Under Linux system, the wallet file is in this folder:- ~/.komodo/MCL/wallet.dat
You can just copy this file for backup by following:-
# Copy File
cp -av ~/.komodo/MCL/wallet.dat ~/wallet.dat
# Rename the wallet file
mv ~/wallet.dat ~/2019-05-17-wallet_backup.dat
# To archive
tar -czvf ~/2019-05-17-wallet_backup.dat.tgz ~/2019-05-17-wallet_backup.dat
# Then Move the file to a secure place.
2nd method ( backupwallet )
Another way to backup your wallet.dat :-
Example
./komodo-cli backupwallet "/home/myusername/myexportdir/mybackupdata"
Output
/home/myusername/myexportdir/mybackupdata
3rd Method (dumpwallet)
Example
./komodo-cli dumpwallet "test"
Output
/home/myusername/myexportdir/test
Example
./komodo-cli importwallet "path/to/exportdir/nameofbackup"
Output
(folder)
Example use
./komodo-cli dumpprivkey "RTcwYaQPDVN7V9SdfFHARWnoB7vcpSfdvs"
Output
UDONOTUSExxxxxxxxxxxxxxxxxxxx4KkCmRnnSg7iXvAUjoYivC8K
Sample use
./komodo-cli importprivkey "UDONOTUSExxxxxxxxxxxxxxxxxxxxj4Xu9jjinhLpffhdtoKg5gar2"
OutputR9z796AehK5b6NCPeVkGUHSpJnawerf8oP
`wallet.dat` contains a secure file keeping all your coins. Taking a secure backup is the best way to keep your assets in your wallet.
Don’t forget to take the backup!
And Remember!
Your Privatekey is Your Coins! It is the key to your wallet. Do not share it with anyone and do not loose it!