How to automatically backup your hard earned bitcoin (with python)

Imagine a hard disk crash... and suddenly your hard earned bitcoins are gone! Doing a normal file system backup might not do you any good either - the wallet.dat file can not really be backed up while the Bitcoin app is running.

One solution is to use the JSON RPC call that triggers the Bitcoin app to create a 'safe copy' of the current wallet.dat file. In order to use this call you have to run the app in 'server' mode (so that it accepts RPC calls):

Then after downloading & extracting the attached zip file edit a few configuration settings in and schedule a task to run that script once every hour.

I'd recommend that your DESTDIR is set to an automatically backed up folder (e.g. dropbox).

Icon (317.9 KB)

Next entry

Previous entry

Similar entries


No comments yet.


Pingbacks are closed.


Post your comment