Integrate Commvault to write Backups to AWS S3
Commvault is one of the leading Backup software providers in the market with integrations for all the leading cloud service providers. In this blog, I will provide a walkthrough on how to integrate Commvault to write Backups to AWS S3 to save cost and increase the availability and durability of data.
This blog assumes that you have a basic working knowledge of Commvault and AWS services like IAM and S3.
Backups are very important for an organization to recover any loss of data due to hardware or software failure, data corruption, or a human-caused event, such as a malicious attack (virus or malware), or accidental deletion of data, etc.
But storing data on Tape Drives or any other source on-premise requires hardware provisioning and requires manual intervention for most of the tasks like changing tape drives, replacing the faulty hardware, scaling the storage space, etc and might not guarantee the availability and durability we get from a cloud service provider. Add to this the low cost of cloud storage and you tick all the boxes for a safe and cost-effective solution.
For the purpose of this blog, we would require an IAM user, an S3 bucket and a Commvault environment with at least one server having Commvault client agent installed.
You can start by creating an IAM user by following the steps here. Make sure you download the credentials, they will be of use in the later steps. Follow the principle of Least privileges and allow the user access only to S3. Create an S3 bucket in your AWS account by following the steps here.
Now let us login to our Commvault environment by using the Commcell and configure the backups to use S3 as the storage location.
Create a Cloud Storage Library under the Libraries section.
Give a name to the Cloud Storage Library and Select S3 as the Cloud Storage. Select your Media Agent. For Authentication choose Access & Secret Keys and enter the service host specifying the region.
Create a new User credential by providing the Access Key and Secret Access Key of the IAM user you created in the previous steps.
Use the saved credentials and Click on Detect to list all your buckets. Make sure the IAM user has appropriate permissions to S3. Select the required S3 Storage Class and Click on OK.
Create a Storage Policy to use the Cloud Library created in previous steps and associate it with your Client Computer.
Start a Backup job and check the status of the S3 bucket to see your backups. Backups are seen under the CV_MAGNETIC folder in your S3 bucket.
Conclusion
I hope you have understood the integration of Commvault to write Backups to AWS S3. That brings us to the end of this blog. Hope this was informative. Kindly share your thoughts in the comments section below. Please try this and let me know if you face any issues. Also, subscribe to our newsletter for more interesting updates.
Originally published at https://blogs.tensult.com on 20th November 2019