-
Notifications
You must be signed in to change notification settings - Fork 6
Dump and restore Bitcoin Unlimited #32
Copy link
Copy link
Open
Description
re: #22
Commands below require pigz to be installed. If its not then remove --use-compress-program=pigz from the tar commands and add z argument.
Generate dump
BU node must be stopped
sudo tar --exclude=debug.log --exclude=mempool.dat --exclude=wallet.dat --exclude=.lock --exclude=peers.dat --exclude=orphanpool.dat --use-compress-program=pigz -cvf /tmp/bu.tar.gz -C data/bitcoind testnet3Restore dump
Put the files in the directory before creating the container
mkdir -p data/bitcoind/testnet3
tar --use-compress-program=pigz -xvf /tmp/bu.tar.gz -C data/bitcoind/Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels