Enable Portworx Backup
If you installed Portworx Backup using Helm, you can use Helm to enable it as well.
Prerequisites
You must have Portworx Backup with a Helm-based install.
Enable
To enable Portworx Backup using Helm:
-
Update your Helm repository.
helm repo update
-
Retrieve all custom values you used during install. Generate a YAML file, replacing the values of the
<namespace>
and<release-name>
parameters to match your environment.helm get values --namespace <namespace> <release-name> -o yaml > values.yaml
oidc:
centralOIDC:
defaultPassword: examplePassword
defaultUsername: exampleUser
operatorToChartUpgrade: true
persistentStorage:
enabled: true
storageClassName: px-sc
pxbackup:
orgName: exampleOrg
pxcentralDBPassword: exampleDbPasswordNote the following about this example output:
- The
persistentStorage.storageClassName
field displays the name of your storage class (px-sc
). - The
persistentStorage.enabled: true
field indicates that persistent storage is enabled. - The
pxbackup.orgName
field displays the name of your organization (my-organization
).
- The
-
Delete the post install hook job.
kubectl delete job pxcentral-post-install-hook --namespace <namespace>
-
Run the
helm upgrade
command to enable Portworx Backup, using the-f
flag to pass the customvalues.yaml
file you generated above and replacing<namespace>
with your namespace.helm upgrade <release-name> <repo-name>/px-central --namespace <namespace> -f values.yaml --set pxbackup.enabled=true
Replacing the following parameters:
<release-name>
: the Portworx Backup release to enable<repo-name>
: the Portworx Enterprise repository name<namespace>
: the namespace matching your environment
To upgrade Portworx Backup from the prior versions to 2.8.1, refer to the Upgrade Portworx Backup topic.