If you haven't yet, create a Tardigrade account before following the rest of the tutorial.
Container Station allows us to reuse the existing Docker images for the S3 Gateway and provides basic service management facilities. Please install Container Station using the App Center:
Now click the search icon and search for "Container Station":
Install link just below the Container Station's icon:
The Container Station will finish installation shortly. After installation completes, please open Container Station:
Start Now to finish setup.
In the App Center, click the search icon at the top right. Search for "HBS 3" and click the
Install link just below the HBS 3 icon:
HBS 3 will finish installing shortly.
Before running the following commands, please SSH into your QNAP.
Create a directory for the S3 Gateway's configuration and state files:
Run the S3 Gateway setup wizard:
docker pull storjlabs/gatewaydocker run -it --rm -v $(pwd)/gateway:/root/.local/share/storj/gateway storjlabs/gateway setup
When prompted, pick your Tardigrade satellite:
Enter the API key provided to you by the satellite:
Enter your encryption passphrase:
Save the access and secret key generated by the wizard in a safe place. We will need them later to access the gateway and to configure HBS 3:
Ctrl-c to exit the setup wizard.
Run the S3 Gateway as a long running service. This will configure the gateway to use its default port
7777. The gateway will also be available on your local network for browsing your files via a web interface.
docker run -d --restart unless-stopped -p 0.0.0.0:7777:7777 -v $(pwd)/gateway:/root/.local/share/storj/gateway storjlabs/gateway run
To confirm that the S3 gateway is up and running, check that Container Station shows the
gateway container with a running status:
Open HBS 3:
Click the link under
Storage Spaces called "Create a Storage space". This will take you to the Storage Spaces configuration screen:
Click the "Create" link at the top left to open the space creation wizard:
Select "Amazon S3 & S3 Compatible" and a new dialog will open:
Service provider: select "S3 Compatible". Enter
127.0.0.1:7777 for the
Fill in your access and secret key that was generated previously by the S3 Gateway setup wizard. Uncheck the box for
Use SSL connection:
Create and it will redirect back to the main Storage Spaces configuration page. Click the link on the left hand side for
Backup & Restore:
Backup nowlink to open the drop down:
New backup jobto open the backup job wizard. Select a folder to backup:
Next and select
Amazon S3 & S3 Compatible. Create a new bucket and select it under
backup as the
OK and configure the backup job with a name:
Next and setup a backup schedule if desired. Check the box for
Next and configure any filters needed:
Next and review your backup job configuration:
Create . Now your backup job should start and you should see a job running:
Congrats! You now have your QNAP configured to back up data to the Tardigrade network 🎉