Author Topic: Backing up peercoin wallet  (Read 3039 times)

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Backing up peercoin wallet
« on: November 28, 2013, 10:39:09 pm »
I have been reading about PoS minting and trying to figure out how to do that on my mac. But the first priority is backing up the wallet.

I have looked for some information about backing up the wallet yet have not been able to access any good guides. I know it should be self explanatory and simple yet I am struggling. I just want to make sure I properly back up my wallet.

As of now i am working on a mac and want to back up my wallet on a place on my mac and a USB drive. Is this satisfactory measure to take?

I have tried exporting data to USB and to computer yet it doesn't seem to work. I am not sure if this has anything to do with my wallet being encrypted or not. I think there are probably others out there like me with similar question and concerns.
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline mcgin

  • Volunpeer
  • Full Member
  • ****
  • Posts: 71
  • Karma: +6/-0
  • Hello I'm new here
  • Referrals: 1
    • View Profile
Re: Backing up peercoin wallet
« Reply #1 on: November 28, 2013, 11:26:28 pm »
I've backed mine up and successfully restored it by simply copying the wallet.dat file to the new computer
Is this post helpful?
PPC: PQUCdX5Yfv6eEwyWK1mwPdLHHfUNWerdmC

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #2 on: November 29, 2013, 01:10:47 am »
Heres what i have done. Thought it would work maybe it has. I simply click file backup wallet while on the PPCoin-QT and the save it to my USB drive. It saves it as a .dat file yet when i try to open the file from my USB drive a VLC media player comes up. Shouldn't this store my private keys? I have no idea why a media player would come up
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline Ben

  • Volunpeer
  • Peercoin Vocalist
  • ****
  • Posts: 1000
  • Karma: +58/-0
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #3 on: November 29, 2013, 01:40:00 am »
There's no reason that you'd need to click on that file to "open" it.

Once you've copied it on to your thumb drive, if you ever need to use the copy, you just place the .dat file into the Peercoin application directory where the current wallet.dat lives.

Media Player often gets confused with some of the semi-generic file types. it probably thinks that the file is a Daqarta .dat file (which is an audio format) http://www.daqarta.com/
Twitter: @b_rossi
Reddit & Bitcointalk: Mtinie
BM-2cSvefdSPtfzKLRmQVzcZ7EncEv4WoWYhJ

Offline lumierre

  • Full Member
  • ***
  • Posts: 57
  • Karma: +3/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #4 on: November 29, 2013, 01:50:24 am »
Heres what i have done. Thought it would work maybe it has. I simply click file backup wallet while on the PPCoin-QT and the save it to my USB drive. It saves it as a .dat file yet when i try to open the file from my USB drive a VLC media player comes up. Shouldn't this store my private keys? I have no idea why a media player would come up
Don't open it. You have to copy and paste it into the directory where PPCoin-QT stores the wallet.dat. Usually the directory is:
C:\Users\YourUsername\AppData\Roaming\PPCoin

It won't work if the filename of your backup isn't "wallet.dat".

I've personally used TrueCrypt to encrypt my wallet in my PC. I also have a backup in a usb. I plan to make 2 more back ups with 2 more USBs. It's a very cheap security measure.

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #5 on: November 29, 2013, 02:21:03 am »
This will be a good reference for all the newcomers who lack even the basic understanding lol  :)

So I have tried to listen to your directions yet have failed. I have even watched I believe it is Bens youtube video linked here https://www.youtube.com/watch?v=_15h-SV02Jw

Yet on my mac I do not know how to perform the same tasks. If you could act like you were explaining it to a little kid haha maybe that would work better.

Thanks for the input guys
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline ninjaboon

  • Volunpeer
  • Jr. Member
  • ****
  • Posts: 26
  • Karma: +1/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #6 on: November 29, 2013, 02:32:56 am »
Heres what i have done. Thought it would work maybe it has. I simply click file backup wallet while on the PPCoin-QT and the save it to my USB drive. It saves it as a .dat file yet when i try to open the file from my USB drive a VLC media player comes up. Shouldn't this store my private keys? I have no idea why a media player would come up

If you are using windoz, clicking on wallet.dat will result in VLC starting up.

If you need to start another PPCoin wallet on another PC, just install PPC and then copy your wallet.dat to the Appdata on the new PC.

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #7 on: November 29, 2013, 02:34:00 am »
Heres what i have done. Thought it would work maybe it has. I simply click file backup wallet while on the PPCoin-QT and the save it to my USB drive. It saves it as a .dat file yet when i try to open the file from my USB drive a VLC media player comes up. Shouldn't this store my private keys? I have no idea why a media player would come up

If you are using windoz, clicking on wallet.dat will result in VLC starting up.

If you need to start another PPCoin wallet on another PC, just install PPC and then copy your wallet.dat to the Appdata on the new PC.

I am using a mac
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline Ben

  • Volunpeer
  • Peercoin Vocalist
  • ****
  • Posts: 1000
  • Karma: +58/-0
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #8 on: November 29, 2013, 02:38:44 am »
@kschneezy: I'm happy to work on continuing to simplify the instructions for getting Proof-of-Stake working on your Mac, but I'll need more specifics into what sections you are having problems with, specifically, and what those problems are.

Please post them to the Tutorial thread, so I can keep that information all in one place.

Thanks!
Twitter: @b_rossi
Reddit & Bitcointalk: Mtinie
BM-2cSvefdSPtfzKLRmQVzcZ7EncEv4WoWYhJ

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #9 on: November 29, 2013, 02:40:43 am »
Ok will do. Having multiple problems currently. Just trying to get wallet backed up properly before moving to PoS
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline ninjaboon

  • Volunpeer
  • Jr. Member
  • ****
  • Posts: 26
  • Karma: +1/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #10 on: November 29, 2013, 02:43:47 am »
Heres what i have done. Thought it would work maybe it has. I simply click file backup wallet while on the PPCoin-QT and the save it to my USB drive. It saves it as a .dat file yet when i try to open the file from my USB drive a VLC media player comes up. Shouldn't this store my private keys? I have no idea why a media player would come up

If you are using windoz, clicking on wallet.dat will result in VLC starting up.

If you need to start another PPCoin wallet on another PC, just install PPC and then copy your wallet.dat to the Appdata on the new PC.

ok my bad, its a mac.

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #11 on: November 29, 2013, 02:46:15 am »
@kschneezy: I'm happy to work on continuing to simplify the instructions for getting Proof-of-Stake working on your Mac, but I'll need more specifics into what sections you are having problems with, specifically, and what those problems are.

Please post them to the Tutorial thread, so I can keep that information all in one place.

Thanks!

I would like to get my wallet properly backed up and stored in a separate location in case anything were to happen to my mac. Thats my first priority. Would you like to discuss that in your PoS tutorial as I don't want to get off topic on there
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #12 on: November 29, 2013, 03:04:58 am »
When I exported my bitcoin priv keys in the past on multibit it was pretty simple. So how do I got about doing this on the PPCoin-QT with a mac. I have tried to export them by clicking the export button and saving it to my USB drive yet that doesn't seem to work. Neither does clicking file then backup wallet. Whats the right way to do it between those two options anyways?
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline kschneezy

  • Sr. Member
  • ****
  • Posts: 103
  • Karma: +7/-0
  • Referrals: 2
    • View Profile
Re: Backing up peercoin wallet
« Reply #13 on: November 29, 2013, 03:13:36 am »
When I exported my bitcoin priv keys in the past on multibit it was pretty simple. So how do I got about doing this on the PPCoin-QT with a mac. I have tried to export them by clicking the export button and saving it to my USB drive yet that doesn't seem to work. Neither does clicking file then backup wallet. Whats the right way to do it between those two options anyways?
So on PPCoin-Qt on the mac the export option leads me to an excel sheet that says label and address and nothing there with a .csv or something file. The other option of being on PPCoin-Qt and clicking file and backup wallet leads to a .dat file that opens up in VLC. Those are the two encounters I have come across any suggestions for a non technical person looking to keep their PPC secure?
PPC:PWYxzLNx5ohHtFhdKzJ5FibG44dhfQDyVx

Peer4commit: oZTRkUzUHTMq

Offline Ben

  • Volunpeer
  • Peercoin Vocalist
  • ****
  • Posts: 1000
  • Karma: +58/-0
  • Referrals: 0
    • View Profile
Re: Backing up peercoin wallet
« Reply #14 on: November 29, 2013, 03:24:51 am »
Discussing the wallet backup is fine here.

If you've backed up the wallet using the PPCoin-Qt interface, and the wallet.dat file has been written to your USB thumb drive, you're doing it right.

Now, should you at any point in the future need to use that saved file to rebuild your wallet, it's a pretty easy process. The most likely case for doing this is if you need to reinstall the Peercoin client on a new computer, or after you've had to format the disk due to an unrelated issue. In that case, you'd install the Peercoin client (ppcoin-qt) per the current instructions and launch it to make sure it's working correctly. It WILL NOT contain your account balance, so don't worry -- that's what the next steps are for.

The most straight-forward way to do it is to use the OSX Terminal application to access the system's command line interface. I've covered it in the Mac PoS tutorial, but for a quick primer, it's located in Applications > Utilities > Terminal.

Once Terminal is running, insert your USB into your Mac, and copy and paste the wallet.dat file that you backed up on to your desktop. By copying and pasting, rather than dragging it over, you can maintain that copy on the USB, in case anything goes wrong.

Quote
Note: I'm using the file name wallet.dat for simplicity, but you may have renamed it. If you did, just replace that name when you see "wallet.dat" referenced in the instructions.

Next, in Terminal, type the following (and remember, "$" is not included in the text you need to copy, it's just there to indicate where the prompt starts):

Code: [Select]
$ cd ~/Desktop/
$ ls

What that did was to set your context to your Desktop directory and then display a list of all the files and directories stored in it. You should see a listing for wallet.dat. If you do, we're ready to go on to the next step; removing the default wallet file and then moving the backup into the ~/Library/Application\ Support/PPCoin/ directory.

Code: [Select]
$ cd ~/Library/Application\ Support/PPCoin/
$ rm wallet.dat
$ ls

When the directory contents are displayed using the "ls" command, you should no longer see a wallet.dat file listed. Next we'll use the "mv" (move) command to pull the file that we put on the Desktop over to the ../PPCoin/ directory:

Code: [Select]
$ mv ~/Desktop/wallet.dat wallet.dat
$ ls

Listing the directory contents should now show a wallet.dat file.

Last Step
Start up PPCoin-Qt and let the blockchain synch. Once the client has caught up to the most recent transactions, you'll be able to confirm you're using your backed up wallet, and any transactions that occurred since the backup happened should be reconciled with the blockchain synch.

And then you're ready to get back to whatever you were doing before you had to reinstall.

-----
ALL: Can I get a quick proofread of the steps? I think I got them correct, but just in case I missed anything fundamental, I'd like a review. Thanks!
« Last Edit: November 29, 2013, 03:26:40 am by Ben »
Twitter: @b_rossi
Reddit & Bitcointalk: Mtinie
BM-2cSvefdSPtfzKLRmQVzcZ7EncEv4WoWYhJ

 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Peercoin.net Official Peercoin Website