Portabase Logo

Google Cloud Storage

Configure Google Cloud Storage as an external storage for your backups.

By default, Portabase stores backups on the local disk of the server. For production environments, we strongly recommend using external storage to:

  • Decouple storage from compute resources.
  • Benefit from virtually unlimited capacity.
  • Ensure data protection through the reliability of dedicated storage solutions.

Creation of a Service Account and Bucket

Navigate to the Google Cloud Console and select your project (or create a new one).

Go to Cloud Storage > Buckets and create a new bucket for your backups. Note the bucket name.

Go to IAM & Admin > Service Accounts and create a new service account.

Assign the Storage Object Admin role (roles/storage.objectAdmin) to the service account on the bucket.

In the service account details, go to Keys > Add Key > Create new key and select JSON. Download the generated key file.

Configuration on the dashboard

In Storage > Channels, click on + Add Storage Channel and choose Google Cloud Storage.

Enter the bucket name and paste the content of the service account JSON key file.

Click Add Channel to finalize the configuration.


Verification

  1. Restart the dashboard:
portabase restart .
  1. Log into the web UI.
  2. Trigger a manual backup on an agent.
  3. Check your bucket in the Google Cloud Console to confirm the backup file exists.

Last updated on

On this page