# on the RaspiBlitz
go run openbazaard.go stop
rm -r /home/admin/.openbazaar

# on the linux desktop:
echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"
read RASPIBLITZ_IP
scp -r ~/.openbazaar admin@$RASPIBLITZ_IP:/home/admin/

# To restore your OpenBazaar node only from the backup seed:
root@DietPi:~# go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go restore -d /root/.openbazaar -m "word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12"
https://openbazaar.zendesk.com/hc/en-us/articles/360002820331-How-do-I-restore-my-OpenBazaar-wallet-from-seed-

# Restore your shop from a backup copy your existing .openbazaar dir to /root/.openbazaar
fdisk -l
mount /dev/sda1 /mnt/usbdrive
cp -R  /mnt/usbdrive/OpenBazaar2.0/* /root/.openbazaar/


# links and paths for DietPi
sudo nano /mnt/dietpi_userdata/openbazaar/config 
sudo nano /root/.openbazaar/config 
cd /mnt/dietpi_userdata/go/src/github.com/OpenBazaar/openbazaar-go/



root@DietPi:/mnt/dietpi_userdata/go/src/github.com/OpenBazaar/openbazaar-go# go run openbazaard.go -h
Usage:
  openbazaard [OPTIONS] <command>

Application Options:
  -v, --version  Print the version number and exit

Help Options:
  -h, --help     Show this help message

Available commands:
  convert          convert this node to a different coin type
  decryptdatabase  decrypt your database
  encryptdatabase  encrypt your database
  gencerts         Generate certificates
  init             initialize a new repo and exit
  restart          restart the server
  restore          restore user data
  setapicreds      set API credentials
  start            start the OpenBazaar-Server
  status           get the repo status
  stop             shutdown the server and disconnect


