From ab04d94e2cd410afa6468370729d824e9991e158 Mon Sep 17 00:00:00 2001 From: "Alexey A. Leonov" Date: Mon, 13 Jan 2025 09:57:07 +0700 Subject: [PATCH] Added TrueCloud Backup Task (#468) --- .../dcs/third-party-tools/truenas/page.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/app/(docs)/dcs/third-party-tools/truenas/page.md b/app/(docs)/dcs/third-party-tools/truenas/page.md index 372d79912..be9abd831 100644 --- a/app/(docs)/dcs/third-party-tools/truenas/page.md +++ b/app/(docs)/dcs/third-party-tools/truenas/page.md @@ -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. @@ -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**. @@ -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.