Listen to this Post
MinIO is an open-source software that delivers high-performance Object Storage capabilities, Amazon S3 compatible, making it an excellent target for storing backups. When combined with TrueNAS Scale software, you can configure a robust backup solution that leverages MinIO’s Object Storage capabilities as a Backup Repository to safeguard your backup data.
MinIO Object Storage supports the Object Lock function to prevent accidental or malicious deletion.
You Should Know:
1. Install MinIO on TrueNAS Scale
To deploy MinIO on TrueNAS, follow these steps:
1. Access TrueNAS Web UI
- Log in to your TrueNAS SCALE dashboard.
2. Launch MinIO App
- Navigate to Apps > Available Applications.
- Search for MinIO and click Install.
3. Configure MinIO Settings
- Set Access Key and Secret Key (e.g., `minioadmin` for testing).
- Define storage paths (e.g.,
/mnt/tank/minio-data
). - Enable Object Lock if needed for WORM (Write Once, Read Many) compliance.
4. Deploy MinIO
- Click Submit and wait for the deployment to complete.
2. Access MinIO Web Console
- Open `http://
:9000` in a browser. - Log in using the Access Key and Secret Key.
3. Create a Bucket
- Navigate to Buckets > Create Bucket.
- Enable Versioning and Object Lock if required.
4. Configure S3-Compatible Backup (e.g., Veeam, Rclone)
- Use the following rclone command to sync data to MinIO:
rclone sync /local/data minio-backup:bucket-name --s3-endpoint=http://<truenas-ip>:9000 --s3-access-key-id=ACCESS_KEY --s3-secret-access-key=SECRET_KEY
5. Verify Data Integrity
- List objects in a bucket using the MinIO CLI:
mc ls minio-backup/bucket-name
- Check file consistency:
rclone check /local/data minio-backup:bucket-name
What Undercode Say
MinIO on TrueNAS provides a scalable, S3-compatible storage solution ideal for backups, logs, and archival data. By enabling Object Lock, you ensure immutability—critical for ransomware protection.
Key Linux & Windows Commands:
- Linux:
MinIO Client (mc) setup wget https://dl.min.io/client/mc/release/linux-amd64/mc chmod +x mc ./mc alias set minio-backup http://<truenas-ip>:9000 ACCESS_KEY SECRET_KEY
- Windows (PowerShell):
Test S3 connectivity Test-NetConnection -ComputerName <truenas-ip> -Port 9000
For advanced users, integrate MinIO with Kubernetes or automate backups using Cron Jobs:
Cron job to sync daily 0 3 rclone sync /backups minio-backup:veeam-repo
Expected Output:
A fully configured MinIO S3 storage on TrueNAS, ready for secure, immutable backups.
Reference: MinIO Object Lock Documentation
References:
Reported By: Paolovalsecchi Minio – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅