How to download the backup file from AlloyDB cluster?

I want to keep a local backup copy of my entire cluster. How can i achieve that? as I see there is backup section but it only allows you to restore in another cluster. Can we export dump to GCS and get a url to download?

0 2 109
2 REPLIES 2

Hi @pshah,

AlloyDB offers two main ways to back up and recover your data:

  • Continuous Backup and Recovery: This feature is enabled by default on all clusters. It allows you to create a new cluster based on any recent state of another cluster within the same project and region.
  • Discrete Backups: These are file-based backups that contain complete copies of your cluster's databases. You can create these backups on-demand or set them up on a regular schedule. Any of these backups can be restored into new clusters.

If you want to create a local backup of your entire cluster, you can export your data to Google Cloud Storage (GCS) and then download it.

You have options for how to export your data: you can choose to save it as a CSV, DMP, or SQL file. Once the export is complete, simply head to your GCS bucket to download the backup.

I hope the above information is helpful.

I do not see an option or a guide on how to take local backup of entire cluster in GCS or AlloyDB. I have already seen incremental and discrete backups but they only support restore and delete option.