Skip to main content
Version: 3.0

Upgrade Portworx Backup on Non Air-Gapped Environments

Portworx Backup supports upgrades to version n from versions n-1 or n-2. For example, if you are on Portworx Backup version 2.10.x or 2.11.x, you can directly upgrade to 3.0.0. If you are on 2.9.x or earlier and want to upgrade to 3.0.0, you need to upgrade in a phased manner. First upgrade to an intermediate version (2.10.x or 2.11.x), and then upgrade to 3.0.0. For more information, see Upgrade matrix

To install or upgrade Portworx Backup using Argo CD, see Deploy Portworx Backup using Argo CD.

Upgrade Portworx Backup in non-airgapped environment

To upgrade to the required version of Portworx Backup:

  1. Access Portworx Central portal.

  2. Enter login credentials and make sure that you go through End-User License Agreement (EULA).

    If you are new to Portworx Central, click on Create account to generate your login credentials. You can also sign in with your organization’s OIDC identity provider, Google or Github account.

  3. Click Sign In to access the Portworx Central portal.

  4. On the home page, under Explore our Products, navigate to the Portworx Backup card. Then click Generate Backup Spec to open the Portworx Backup Install/upgrade page (Spec Details tab).

  5. In the Spec Details tab provide the following values:

    • Backup Version: select the required version of Portworx Backup from the drop-down, here it is 3.0.0

    • Namespace: provide the name of the namespace where you want an instance of Portworx Backup to be installed

    • Select your environment: choose On-Premises or Cloud based on your storage environment

    • StorageClass Name: name of the StorageClass; see the tooltip for more details

      1. Release data:
      • Backup Version: select the required version of Portworx Backup from the drop-down

      • Namespace: provide the name of the namespace where you want an instance of Portworx Backup to be installed

      • Select your environment: choose On-Premises or Cloud based on your storage environment

      1. Configuration

      • StorageClass Name: name of the StorageClass; see the tooltip for more details
      note

      Defining the namespace and StorageClass is a one-time configuration step that should be completed during the initial installation. PVCs will be created using Namespace and StorageClass values you define in the SpecGen, and these values cannot be modified later during an upgrade.

      • Enable Rancher RBAC: select this checkbox if you are using Rancher for managing your Kubernetes clusters and want to enable Rancher's Role-Based Access Control (RBAC) for Portworx Backup. This feature can be enabled only if you have LDAP or PingIdentity as your identity provider. For more information, see Rancher RBAC Integration with Namespace Filtering and Rancher RBAC.

      • Use your OIDC: select this option only if your external authorization provider is Auth0 and fill in the following fields:

        • Endpoint
        • Client ID
        • Client Secret

        These values can be fetched from the Auth0 web console.

    • Use existing Prometheus: select this checkbox if you want to use your existing Prometheus stack to monitor Portworx Backup and enter the values for the following fields:

      • Prometheus Endpoint: enter details of the endpoint where your Prometheus is installed

      • Alertmanager Endpoint: enter details of the endpoint where your Alertmanager is installed

      • Prometheus secret name: enter secret name of your Prometheus stack

      • Alertmanager secret name: enter secret name of your Alertmanager

      • Custom email template from PX-Backup: select to upload Portworx Backup's custom email template to your pre-configured Alertmanager for email notifications

        By default, persistent volume size for Prometheus server is 5 GB, if you need more storage, use the following command during the upgrade from previous versions of Portworx Backup to 3.0.0:

        --set persistentStorage.prometheus.storage=8Gi,persistentStorage.prometheus.retentionSize=7360MB

        Replace 7360MB with 92% of your chosen prometheus.storage value in MB if you set a different size.

        The command above resets the Prometheus server's persistent volume size to 8 GB. You can set the required storage based on your needs.

    • Proxy Configuration: select this checkbox if you have a proxy server configured in your environment and enter the values for the following fields:

      • Unauthenticated: choose this if you have an unauthenticated proxy server
        • HTTP Proxy: proxy server URL for HTTP proxy
        • HTTPS Proxy: proxy server URL for HTTPS proxy
        • NO PROXY: comma-separated list of hostnames, IPs, or domains that should bypass the proxy settings
      • Authenticated/CA: choose this option if your cluster is behind a proxy server with authentication or CA
        • Proxy configuration secret: name of the kubernetes proxy configuration secret created in Portworx Backup namespace holding the proxy configuration

    1. Custom Registry

      • Use custom registry: applicable only for air-gapped environments, do not select this check-box for non-airgapped system.
    2. Database Credentials: This section configures database passwords for the various database components used by Portworx Backup. For guidelines on how to set the database credentials, see Password Policy.

      • MySQL Root User Password: root password for MySQL database

      • Postgres User Password: password for PostgreSQL user

      • MongoDB PX-Backup User Password: password for MongoDB PX-Backup user

      • MongoDB Root User Password: root password for MongoDB database

      • MongoDB Replica Set Key: key for MongoDB replica set authentication

      • Encrypt MongoDB: select this checkbox to enable encryption at rest for MongoDB database

      • MongoDB Master Encryption Key: Master encryption key for MongoDB encryption at rest

        caution

        Safeguarding your encryption key is vital to prevent permanent data loss. If the key is lost, you will be unable to access your encrypted data, as it is the only means of decryption. Without it, the data is rendered completely inaccessible and cannot be recovered. Note that encryption keys cannot be rotated after they are set.

  6. Click Next to navigate to Finish tab.

Navigate to the Finish tab at the top to execute few commands to complete the installation.