The Litecoin data directory contains the files necessary for the Litecoin client to run. Each operating system has its own standards for where such directories should be stored, as seen in the table below. For the user, the most important files in the data directory are the wallet.dat and litecoin.conf files.
Upgrading Litecoin doesn't affect the wallet located on your system. It is, however, good practice to backup you wallet before upgrading, just in case something odd happens with your system. If you have a version of the Litecoin-Qt software running...
Restoring a wallet backup is totally opposite of backing up, just copy the wallet.dat file from your thumb drive to the same location mentioned in Step 3. Just follow these steps: Shut down the Litecoin QT Wallet.
Is it somehow possible that I can configure litecoin-qt so that it recognizes the block chain at location A and the wallet.dat at location B? Thanks in advance.
trying to backup the relevant wallet.dat file inside the console of bitcoin-qt: when trying to back it up i get the error: “Error: Wallet backup failed! (code: -4)”.
If you ever need to send LTC in the future then you simply insert one of your USB sticks in your computer and copy the wallet.dat file back to its original location. Then run the Litecoin Wallet and use the -rescan flag as follows.
Close Litecoin-Qt. Locate your wallet.dat file. The file should be in the following locations in Windows and Linux respectively
Most Litecoin users store their Litecoins in their computers. Official wallet also come with great security concerns. For example, Infostealer.Coinbit is a malware designed to search and steal the Litecoin wallet.dat file.
There's 2 ways to do this - as ltcbtc mentions you can backup the wallet to a safe location (so you don't lose your coins & tx) and reinstall the client - or you can wipe the database
Unplug your computer from the Internet – physically remove your networking cable, disable wireless. Install the litecoin-qt software you downloaded in step 1. Immediately encrypt your wallet.dat file.