Bitcoin Forum
December 11, 2016, 06:23:09 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Exporting private keys (dumpprivkey)  (Read 1971 times)
kwukduck
Legendary
*
Offline Offline

Activity: 1569


View Profile
April 13, 2012, 05:03:04 PM
 #1

Hey all

I'm trying to export some keys as a safe backup, i'm using an external drive as my datadir and that usually works fine but now i'm running into some trouble.

i'm running:

./bitcoind -datadir=/media/BTC listreceivedbyaddress

it then returns:
error: couldn't connect to server

Am i doing something wrong or how should i go about this?

14b8PdeWLqK3yi3PrNHMmCvSmvDEKEBh3E
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
bulanula
Hero Member
*****
Offline Offline

Activity: 518



View Profile
April 13, 2012, 05:06:28 PM
 #2

Hey all

I'm trying to export some keys as a safe backup, i'm using an external drive as my datadir and that usually works fine but now i'm running into some trouble.

i'm running:

./bitcoind -datadir=/media/BTC listreceivedbyaddress

it then returns:
error: couldn't connect to server

Am i doing something wrong or how should i go about this?

Yeah seems like the BTC server is not running so first run something like : ./bitcoind -daemon

Then run your command !

Do I get a bounty if it works Cheesy ?
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
April 13, 2012, 05:34:41 PM
 #3

Hey all

I'm trying to export some keys as a safe backup, i'm using an external drive as my datadir and that usually works fine but now i'm running into some trouble.

i'm running:

./bitcoind -datadir=/media/BTC listreceivedbyaddress

it then returns:
error: couldn't connect to server

Am i doing something wrong or how should i go about this?

i assume you enter that command by console so you can try first...

Code:
./bitcoind -datadir=/media/BTC&

wait a few moments for hte bitcoin daemon to start-up and do...

Code:
./bitcoind getinfo

or

Code:
./bitcoind help

when this commands return you some nice info try...

Code:
./bitcoind listreceivedbyaddress <address>


BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!