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 support the Object Lock function to make your backups immutable.
Prerequisites
To complete the installation of the MinIO Object Storage, you need to have a working TrueNAS Scale deployment available in your network.
Create a new Dataset in TrueNAS
Using your preferred browser, connect to your TrueNAS Scale deployment and type the credentials to login. Click Log In.
Got to Datasets area and select an existing Pool. Create a new one if no Pools are configured in your TrueNAS configuration.
Click on Add Dataset button.
Enter a Name for the new Dataset (MinIO for example) and click Save.
The just create new Dataset.
Install MinIO Object Storage on TrueNAS
After creating a new Dataset, go to Apps area and click Check Available Apps.
In the search bar, enter minio to filter applications. Click the MinIO application widget.
To start the installation of MinIO, click Setup Pool To Install.
Select the Pool for the MinIO and click Choose.
The application is being configured.
Enable Confirm option and click Agree.
Specify the Application Name (minio for example) then enter the MinIO Root User (admin for example) and the MinIO Root Password.
Scroll down and take note of the User ID (473 in the example) and the API Port displayed in the corresponding sections.
As Certificate, you can use the self-signed certificate available in the application. From the Certificate drop-down menu select the value ‘truenas_default’ Certificate.
Under Storage Configuration, select Host Path (Path that already exists on the system) value from the Type drop-down menu. As Host Path, select the Dataset previously created (MinIO).
Now enable option Enable ACL.
Click Add to add ACL Entries. Specify the ID previously noted (473) and give FULL_CONTROL Access as Access permissions. Enable Force Flag as ACL Options.
Scroll down till the end and click Install to proceed with MinIO installation.
The application is being installed on TrueNAS.
In the Applications area you can follow the installation status.
After few seconds, the installation is reported as Running. The installation has been completed successfully.
Access MiNIO dashboard
Using your preferred browser, enter the address https://<TrueNAS_IP>:9002. Enter the credentials previously created and click Login.
Create a Bucket
After completing the login, the main dashboard is displayed. Click Create a Bucket to create the first bucket in your system.
Enter the Bucket Name and enable both Versioning and Object Locking to make backup data immutable. Click Create Bucket.
The created Bucket.
Create the Access Keys
To access the created Bucket from your backup software, you need to create the Access Key.
Go to Access Keys area and click Create access key button.
A pair of Access Key and Secret Key are generated by MinIO. Click Create to save the keys.
Write down both Access Key and Secret Key or alternatively click Download for import to download the file with the keys. Close the window.
The created Access Key.
Configure the Backup Repository
Once the Bucket is created in MinIO, it can be configured as Target Repository in your backup solution (for example Veeam, Nakivo, HornetSecurity, Vembu, etc.).
In your backup software solution, enter the Service point with the format https://<TrueNAS_IP_address>:9000 and the Credentials using the previously generated Access and Secret Keys.
You are now able to access the Bucket previously created (backup in the example) in MinIO.
MinIO and TrueNAS are both open-source software and can be downloaded free of charge.
from StarWind Blog https://ift.tt/pqQk3bH
via IFTTT
No comments:
Post a Comment