This is a way to do an automated cloud backup of your Immich database using TrueNAS Cloud Sync Tasks.
- Create a PUSH+SYNC task and selected your prefered cloud remote
- Select
/<immich-dataset>/backupsas source - Add a pre-script to create the backup
curl -H "Content-Type: application/json" \
-H "x-api-key: " \