Merge pull request #219 from lbryio/backup-1

update wallet instructions
This commit is contained in:
Josh Finer 2017-09-13 09:17:42 -04:00 committed by GitHub
commit 94f0a9a7f0

View file

@ -1,28 +1,25 @@
--- ---
title: How do I back up my wallet? title: How do I back up my LBRY wallet?
category: wallet category: wallet
--- ---
The LBRY application relies on blockchain technology and the LBRY Credits (LBC) cryptocurrency in order to participate in the network. These LBC are stored in wallet which is generated on each user's PC when they install LBRY. Think of your credits as digital cash on your PC. It is important to understand that the wallet is not stored on any LBRY servers and as such, users are responsible for safegaurding it and making sure a backup (copy of the wallet file) is available in the event that it is lost. Wallets should be backed up periodically to ensure the most up to date information is available.
LBRY provides two different wallets, `lbryum` and `lbrycrd`. `lbryum` is the default wallet, but early versions came with `lbrycrd` as the default. ## How do I find my wallet?
Wallets should be backed up securely to one or more (redundancy!) locations which only you have control over. Anyone with access to the wallet file could potentially have access to your LBRY Credits. As an added layer of protection when backing up your wallet, you can password encrypt a ZIP file with your wallet data. We are trying to make this process easier for users in the future through the LBRY App. The easiest way to find the location of your LBRY wallet is via the [LBRY app](https://lbry.io/get). Open LBRY and then go to your wallet (bank icon in the top right of the screen). In the Balance section, you will see a link for `Backup`, click this. If this link is grayed out, it usually means you don't have any credits (see section below on how to manually find the wallet).
## Windows When you click `Backup`, you'll be navigated to a page which shows the location of your `lbryum` directory that contains the wallet file. Navigate to this directory via your file explorer to locate your wallet. You can either choose to backup this whole directory, the wallets directory inside it or the `default_wallet` file itself inside the wallets directory.
Make a copy of the `C:\Users\%USER%\AppData\Roaming\LBRYum\wallets` directory. If you originally installed v0.14 or later, you will find the wallet in `C:\Users\%USER%\AppData\Local\lbry\LBRYum\wallets`. The AppData folder may be hidden, so you can also try `%appdata%\LBRYum\wallets` or `%localappdata%\lbry\LBRYum\wallets` for new installations (v0.14+). ## How do I backup my wallet?
## Linux Wallets should be copied securely to one or more locations which only you have control over. Anyone with access to the wallet file could potentially have access to your LBRY Credits. Backing up is the process by which you copy the wallet files from your PC to another secure location. We recommend using Flash Drives or other external media which is kept in your possession. It is recommended to copy the wallet to more than one backup location for redundancy, especially if you are storing larger amounts of credits.
Make a copy of the `~/.lbryum/wallets` directory. If you originally installed v0.14 or later, you will find the wallet in `~/.local/share/lbry/lbryum/wallets`. We will continue to make this process easier for users in the future through the LBRY application.
## MacOS ## How do I find my wallet if I don't have LBRY open?
Make a copy of the `$HOME/.lbryum/wallets` directory. Hint: Type `~/.lbryum/wallets` into Finder and click Go. The LBRY wallet can be found manually by navigating to the [lbryum directory](https://lbry.io/faq/lbry-directories). The `default_walet` file is inside the wallets folder.
## lbrycrd wallet ## How do I restore my wallet?
You may have a lbrycrd wallet if you used an early version of LBRY or if you ran `lbrycrdd` manually. Look for the `C:\Users\%USER%\AppData\Roaming\lbrycrd` directory on Windows, the `$HOME/Library/Application Support/lbrycrd` directory on MacOS, or the `$HOME/.lbrycrd` directory on Linux. If you have this directory, back up the `wallet.dat` file therein. The process of restoring a previously backed up wallet is fairly simple. After installing LBRY, you would find the location of your wallet (see section above on finding the wallet) and replace the newly generated wallet with your backup copy. Before replacing the existing `default_wallet`, please ensure there are no credits inside of it by opening the LBRY app and checking the balance in the top right next to the bank icon - this should read 0 if the wallet is empty. Once the backed up `default_wallet` file is in place, start LBRY and your balance should now updated.
## See Also
- [important directories](https://lbry.io/faq/lbry-directories).