Bitcoin Forum
May 24, 2017, 02:35:14 AM *
News: Latest stable version of Bitcoin Core: 0.14.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Exporting private keys (dumpprivkey)  (Read 2006 times)
kwukduck
Legendary
*
Offline Offline

Activity: 1714


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
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1495593314
Hero Member
*
Offline Offline

Posts: 1495593314

View Profile Personal Message (Offline)

Ignore
1495593314
Reply with quote  #2

1495593314
Report to moderator
1495593314
Hero Member
*
Offline Offline

Posts: 1495593314

View Profile Personal Message (Offline)

Ignore
1495593314
Reply with quote  #2

1495593314
Report to moderator
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!