These instructions are part of the instructions for Setting up upspinserver
. Please make sure you have read that document first.
upspinserver-b2cs
and upspin-setupstorage-b2cs
To use the Backblaze B2 Storage, fetch the b2.upspin.io
repository and use the upspinserver-b2cs
and upspin-setupstorage-b2cs
variants.
Fetch and install the repository and its dependencies:
local$ go get b2.upspin.io/cmd/...
This will install both the upspin-setupstorage-b2cs
and upspinserver-b2cs
commands.
Now run the upspin-setupstorage-b2cs
command and pass the previously copied account ID and the application key as arguments:
local$ upspin setupstorage-b2cs -domain=example.com -account=<account_id> -appkey=<application_key>
It should produce an output like this:
You should now deploy the upspinserver binary and run 'upspin setupserver'.
You can now continue with the rest of the setup instructions: Set up a server and deploy the upspinserver binary.