Backup Gaia hub?

Is it possible to backup a Gaia hub? I guess we could be talking about backup up the encrypted information inside gaia or even the complete hub container itself… (I haven’t been able to boot a gaia hub myself yet…)

Yes, with the CLI you can do this:

$ blockstack-cli gaia_dump_bucket
Command: gaia_dump_bucket
Usage:
  gaia_dump_bucket NAME_OR_ID_ADDRESS APP_ORIGIN GAIA_HUB BACKUP_PHRASE DUMP_DIR 
  gaia_dump_bucket --name_or_id_address NAME_OR_ID_ADDRESS
                   --app_origin URL
                   --gaia_hub URL
                   --backup_phrase 12_WORDS_OR_CIPHERTEXT
                   --dump_dir PATH
                   
  Download the contents of a Gaia hub bucket to a given directory. The 
  GAIA_HUB argument must correspond to the *write* endpoint of the Gaia hub 
  -- that is, you should be able to fetch $GAIA_HUB/hub_info. If DUMP_DIR 
  does not exist, it will be created. 

  Example: 

    $ export BACKUP_PHRASE="section amount spend resemble spray verify night immune tattoo best emotion parrot"
    $ blockstack-cli gaia_dump_bucket hello.id.blockstack https://sample.app https://hub.blockstack.org "$BACKUP_PHRASE" ./backups
    Download 3 files...
    Download hello_world to ./backups/hello_world
    Download dir/format to ./backups/dir\x2fformat
    Download /.dotfile to ./backups/\x2f.dotfile
    3

Use "help" to list all commands.