# Application-Aware Protection for Containerized PostgreSQL

You can use the Commvault software to back up and restore a PostgreSQL app running in a Kubernetes cluster. To do this, install a Commvault container along with a PostgreSQL container inside a pod. Each pod in the Kubernetes cluster is registered as a client in the CommCell. Share the Data and Archive log directories in the persistent volumes (PV) with the Commvault container. Commvault is then able to read data for backups and write to volumes during restores.

The Commvault software also needs a 3 GB persistent volume to store its configuration files and logs. As the Commvault server does not know how to communicate with pods in a Kubernetes cluster, each pod can access a Commvault server through a one-way network topology immediately after the Commvault container in the pod is accessible. After the pod is registered as a client, you can create a PostgreSQL instance for each pod to run backups and restores. You can run the operations on both FS based backup set and Dump based backup set.

×

Loading...