Backup on QNAP (Tech Preview)

This is a Quickstart tutorial that covers QNAP NAS configuration to back up to Tardigrade –using the HBS 3 backup tool

This guide is experimental. The main functionality appears to work, but there are expected to be undiscovered issues. Please report any issues you may run into on this forum thread.

Before you begin

If you haven't yet, create a Tardigrade account before following the rest of the tutorial.

Install Container Station

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":

Click the Install link just below the Container Station's icon:

The Container Station will finish installation shortly. After installation completes, please open Container Station:

Click Start Now to finish setup.

Install HBS 3

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.

Install S3 Gateway

Before running the following commands, please SSH into your QNAP.

Create a directory for the S3 Gateway's configuration and state files:

mkdir gateway

Run the S3 Gateway setup wizard:

docker pull storjlabs/gateway
docker 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:

Press 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 -v $(pwd)/gateway:/root/.local/share/storj/gateway storjlabs/gateway run

Validate S3 Gateway Setup

To confirm that the S3 gateway is up and running, check that Container Station shows the gateway container with a running status:

Configure HBS 3 with Tardigrade as a Storage Space

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:

Under Service provider: select "S3 Compatible". Enter for the Server Address:

Fill in your access and secret key that was generated previously by the S3 Gateway setup wizard. Uncheck the box for Use SSL connection:

Click Create and it will redirect back to the main Storage Spaces configuration page. Click the link on the left hand side for Backup & Restore:

Click the Backup nowlink to open the drop down:

Select New backup jobto open the backup job wizard. Select a folder to backup:

Click Next and select Amazon S3 & S3 Compatible. Create a new bucket and select it under Bucket name:

Select backup as the destination folder:

Click OK and configure the backup job with a name:

Click Next and setup a backup schedule if desired. Check the box for Backup now:

Click Next and configure any filters needed:

Click Next and review your backup job configuration:

Click 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 🎉