Bitcoin Forum
May 24, 2024, 07:13:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Backing up Bitcoin Core  (Read 752 times)
odolvlobo (OP)
Legendary
*
Offline Offline

Activity: 4326
Merit: 3235



View Profile
June 07, 2015, 08:00:19 PM
 #1

I'm looking for a way to back up Bitcoin Core, primarily the block chain and database. I'm using Windows 7. I would like a way that is faster and more convenient than copying folders.

I've tried using Git, but it doesn't seem to work. I suspect it is because Git does not preserve file times.

Any suggestions?

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6648


Just writing some code


View Profile WWW
June 07, 2015, 08:11:39 PM
 #2

Compress everything into one archive file

Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1001


https://gliph.me/hUF


View Profile
June 08, 2015, 12:04:46 AM
 #3


Is there a Windows version of rsync? Software that does a full backup once and on subsequent backups only copies over the files that have changed (incremental backup)?

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1068



View Profile
June 08, 2015, 01:40:05 AM
 #4

7-Zip works just fine for both backup/rsync and compression. Use the "synchronize" option. To have a successful restore you can only make backups while bitcoind/-qt is shut down.

I doubt that there exist a proper backup utility which would successfully backup both live database engines BerkeleyDB & LevelDB. The BerekelyDB has good crash recovery, so file system snapshot backup tend to work nearly always. But LevelDB is an more of an educational toy and it rarely properly recovers from snapshot backups.

BerkeleyDB has a proper live backup utility, but it has to be built exactly like the bitcoind (using the very complex mingw&gitian build process) to be willing to work with a live instance of bitcoind.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
lemipawa
Legendary
*
Offline Offline

Activity: 1708
Merit: 1003


View Profile
June 08, 2015, 09:16:58 PM
 #5

7-Zip works just fine for both backup/rsync and compression. Use the "synchronize" option.
That's useful to know, I didn't know about that. It makes it much easier to backup files and compress them.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!