Add a GCP Backup Location in Portworx Backup
You can add a GCP backup location in Portworx Backup.
A standard (non-immutable) GCP backup location is supported in Classic mode. For the minimum Portworx Backup and component versions, see the Feature Support Matrix.
Starting from Portworx Backup version 3.1.0, you can also add an object lock-enabled GCS bucket as an immutable backup location to protect backup data from modification or deletion for a specified retention period. For more information, see Add a GCS immutable backup location.
Prerequisites
- A GCP cloud credential must be created in Portworx Backup before adding a GCP backup location.
- The GCS bucket must already exist. Portworx Backup does not create GCS buckets. The bucket can be in any GCS location (region) and storage class.
- The service account associated with the GCP cloud credential must have the Storage Object Admin (
roles/storage.objectAdmin) role, or equivalent permissions to list, read, write, and delete objects, on the target bucket.
To add a GCP backup location, follow these steps:
-
Log in to the Portworx Backup UI.
-
From the left navigation pane, click the Cloud Settings icon
and select the Backup Locations tab. -
Click Add Backup Location.
-
On the Add Backup Location page, select the Object Store option and specify the following information:
- Name: Enter a name for the backup location. Portworx Backup displays this name in the web console.
- Cloud Account: choose the Google cloud credentials this backup location should use to create backups
- Path / Bucket: Enter the name of the GCS bucket that this backup location uses to store backups. Enter only the bucket name (for example,
my-backup-bucket). Do not include path prefixes, slash characters, or ags://URI. - Encryption key (Optional): Enter the optional encryption key to encrypt your backup data at rest. For more information on encryption support, see Encryption matrix.
-
Click Add. The GCP backup location is added in Portworx Backup.
Next steps
After adding the GCP backup location, you can use it when creating backups:
- Assign this backup location when you create a backup or a backup schedule.
- Revalidate the backup location at any time from the Backup Locations tab by selecting the options menu (⋮) and clicking Validate.