Skip to content

Commit

Permalink
Added TrueCloud Backup Task (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyALeonov authored Jan 13, 2025
1 parent 511c40a commit ab04d94
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/(docs)/dcs/third-party-tools/truenas/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ In order to see the data uploaded to your bucket in the web console, you must un

To complete the integration, you will need the S3 credentials created in the previous steps and a TrueNAS login.

If you use TrueNAS 24.10 (Electric Eel) or later, you would be able to setup a [TrueCloud Backup Task](#create-a-truecloud-backup-task), it's a preferred method, because it has several advantages above the [Cloud Sync Task](#create-a-cloud-sync-task): [https://www.truenas.com/docs/scale/24.10/scaletutorials/dataprotection/truecloudtasks/](https://www.truenas.com/docs/scale/24.10/scaletutorials/dataprotection/truecloudtasks/)

### Create a Cloud Credential in TrueNAS

1\. Log into TrueNAS on your network.
Expand Down Expand Up @@ -167,6 +169,15 @@ To complete the integration, you will need the S3 credentials created in the pre

6\. Click **Save**.

### Create a TrueCloud Backup Task

This is a cost-efficient solution in comparison with a Cloud Sync Task. It's available starting with TrueNAS 24.10 (Electric Eel).

The TrueCloud Backup Task allows to create [restic](docId:5_zxVAqCUku5pVX0OTwSW) snapshots and upload them to the Storj bucket. Each snapshot contains only a difference, it also packs smaller objects to a bigger chunks, which effectively reduce your [storage](docId:59T_2l7c1rvZVhI8p91VX#object-storage) and [segments usage](docId:59T_2l7c1rvZVhI8p91VX#per-segment-fee) in the bucket.
The restic snapshots allows you to restore a specific version of any object or the entire dataset.

Please follow the [TrueNAS documentation to setup a TrueCloud Backup Task](https://www.truenas.com/docs/scale/24.10/scaletutorials/dataprotection/truecloudtasks/)

### Create a Cloud Sync Task

1\. On the left-hand menu, click **Data Protection**, navigate to **_Cloud Sync Tasks_**, and click **Add**.
Expand Down Expand Up @@ -197,6 +208,15 @@ To complete the integration, you will need the S3 credentials created in the pre

![](https://link.storjshare.io/raw/jua7rls6hkx5556qfcmhrqed2tfa/docs/images/FAbFNiNGpHfycYMgE_1ZJ_run.png)

{% callout type="info" %}
You may consider to enable [Object versioning](docId:oogh5vaiGei6atohm5thi) for the bucket and you may also [generate S3 credentials with TTL](docId:55e7ac9b-cf21-41fa-be19-087f55de1066#setting-object-ttl-in-the-access-grant--s3-credentials) to automatically delete expired versions.

**Please note, the automatic deletion of expired objects can delete the last version too, so be careful with that feature**

**If you want to have a normal backup tool, consider to use a [TrueCloud Backup Task](#create-a-truecloud-backup-task) instead.**

{% /callout %}

## Success!

While the tasks are running, an orange "RUNNING" label will appear in the task entry. Once the task completes, it will return to a green "SUCCESS" tag.
Expand Down

0 comments on commit ab04d94

Please sign in to comment.