Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: MrCrank on March 01, 2018, 07:17:00 AM



Title: restore my wallet on vps
Post by: MrCrank on March 01, 2018, 07:17:00 AM
Hello,

Can I restore my wallet on vps if I have usermane and password (bitcoin.conf) only.
My wallet.dat was been removed :(

Thanks.


Title: Re: restore my wallet on vps
Post by: lunarman on March 01, 2018, 08:13:39 AM
Isn't there any backup of your vps where the wallet.dat file is still there?
But why would you even have a wallet on a VPS?


Title: Re: restore my wallet on vps
Post by: bitperson on March 01, 2018, 08:18:26 AM
why would you even have a wallet on a VPS?
This is a good question. I would never put any sensitive information, such as private keys (whether bitcoin, PGP or other), on a system hosted by someone else.


Title: Re: restore my wallet on vps
Post by: liti2010 on March 01, 2018, 08:18:56 AM
should need backup wallet date.


Title: Re: restore my wallet on vps
Post by: MrCrank on March 01, 2018, 08:53:36 AM
Isn't there any backup of your vps where the wallet.dat file is still there?
But why would you even have a wallet on a VPS?

I'm coder and learning program language on vps for bitcoin node.
This is need for web apps.

I think can restore backup..


Title: Re: restore my wallet on vps
Post by: fabioganga on March 01, 2018, 09:31:12 AM
Isn't there any backup of your vps where the wallet.dat file is still there?
But why would you even have a wallet on a VPS?

I'm coder and learning program language on vps for bitcoin node.
This is need for web apps.

I think can restore backup..

without either the original wallet.dat or the private key there is no way you can restore a wallet, anywhere.


Title: Re: restore my wallet on vps
Post by: LoyceV on March 01, 2018, 09:45:54 AM
Can I restore my wallet on vps if I have usermane and password (bitcoin.conf) only.
Username and password to what? Bitcoin doesn't have usernames.

Quote
My wallet.dat was been removed :(
Without backup, all that's left is recovery software, but that's most likely impossible on a VPS.


Title: Re: restore my wallet on vps
Post by: shulio on March 01, 2018, 01:15:10 PM
Probably you will not as you have not the backup of you wallet. If you have not deleted the VPS machine yet, you may recover by mounting the disk to vps command console, if there is any.


Title: Re: restore my wallet on vps
Post by: MrCrank on March 02, 2018, 01:31:20 AM
Can I restore my wallet on vps if I have usermane and password (bitcoin.conf) only.
Username and password to what? Bitcoin doesn't have usernames.

Quote
My wallet.dat was been removed :(
Without backup, all that's left is recovery software, but that's most likely impossible on a VPS.

You are not right.
For access to API for use functions need username and password.

Code:
# On client-side, you add the normal user/password pair to send commands:
#rpcuser=alice
#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=

It's written in bitcoin wiki.


Title: Re: restore my wallet on vps
Post by: LoyceV on March 02, 2018, 07:17:54 AM
For access to API for use functions need username and password.

Code:
# On client-side, you add the normal user/password pair to send commands:
#rpcuser=alice
#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
Thanks, that does make sense, but won't help to restore the wallet. ThePiachu (https://bitcoin.stackexchange.com/questions/5267/what-is-rpcuser) about rpcuser:
Quote
You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC.


Title: Re: restore my wallet on vps
Post by: MrCrank on March 02, 2018, 08:02:53 AM
For access to API for use functions need username and password.

Code:
# On client-side, you add the normal user/password pair to send commands:
#rpcuser=alice
#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
Thanks, that does make sense, but won't help to restore the wallet. ThePiachu (https://bitcoin.stackexchange.com/questions/5267/what-is-rpcuser) about rpcuser:
Quote
You can set any values you want for rpcuser and rpcpassword in bitcoin.conf. Those values will be your username and password when you will be connecting to your bitcoind through HTTP JSON RPC.

Oh, yes :(
I using Ubuntu and trying recover files but I do not know how to do it yet.
If possible recover wallet.dat I will glad :)

Thanks


Title: Re: restore my wallet on vps
Post by: BenOnceAgain on March 02, 2018, 07:29:07 PM
Hello,

Can I restore my wallet on vps if I have usermane and password (bitcoin.conf) only.
My wallet.dat was been removed :(

Thanks.

Good luck recovering your wallet, I hope you can get it.

After though, I suggest that you implement a better solution for secure storage than just throwing a wallet.dat file on a VPS.  Businesses that host VPSs, even reputable ones, have curious techs that can look through VPS filesystems, oh you know, maybe for a file that has the name wallet.dat.

I don't know what you use Bitcoin for on a VPS but depending on the application you should move backend systems either internally (my choice) or in some other way into a much more secure setting than a VPS.

Best regards,
Ben