Application-Consistent Protection for MongoDB on Kubernetes

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

Examples

The following example is a pre-process script for MongoDB.

# cat /opt/commvault/Base/kscripts/cluster_name/mynamespace.myapplication.prescript #!/bin/bash mongo --eval 'db.fsyncLock();' exit

The following example is a post-process script for MongoDB.

# cat /opt/commvault/Base/kscripts/cluster_name/mynamespace.myapplication.postscript #!/bin/bash mongo --eval 'db.fsyncUnlock();' exit

Loading...