Application-Consistent Protection for PostgreSQL on Kubernetes

Updated

On this page

You can add a pre-process script file or a post-process script file for PostgreSQL on the Kubernetes access nodes.

Examples

The following example is a pre-process script for PostgreSQL. Edit the example script to include the PostgreSQL port, database user credentials, and the name of a database on the PostgreSQL server, other than the template0 database.

# cat /opt/commvault/Base/kscripts/mynamespace.myapplication.prescript

bash path_to_quiesce.py #Absolute path to quiesce.py inside pod

The following example is a post-process script for PostgreSQL. Edit the example script to include the PostgreSQL port, database user credentials, and the name of a database on the PostgreSQL server, other than the template0 database.

# cat /opt/commvault/Base/kscripts/mynamespace.myapplication.postscript path_to_unquiesce.py #Absolute path to unquiesce.py inside pod