Skip to main content
Skip to main content
Edit this page

Take a backup or restore a backup using commands

Requirements

You will need the following details to export/restore backups to your own CSP storage bucket:

  1. AWS S3 endpoint, in the format: s3://<bucket_name>.s3.amazonaws.com/<directory> For example: `s3://testchbackups.s3.amazonaws.com/backups/ Where:
    • testchbackups is the name of the S3 bucket to export backups to.
    • backups is an optional subdirectory.
  2. AWS access key and secret. (for key/secret-based authentication. We also support role based authentication which is covered in the UI experience above)

Backup / Restore to AWS S3 Bucket

Full Backup

Where uuid is a unique identifier, used to differentiate a set of backups.

Note

You will need to use a different UUID for each new backup in this subdirectory, otherwise you will get a BACKUP_ALREADY_EXISTS error. For example, if you are taking daily backups, you will need to use a new UUID each day.

Incremental Backup

Restore from a backup

Create a new service and run the command below:

See: Configuring BACKUP/RESTORE to use an S3 Endpoint for more details.

Backup / Restore to Azure Blob Storage

Full Backup

Where uuid is a unique identifier, used to differentiate a set of backups.

Incremental Backup

Restore from a backup

Create a new service and run the command below. You will need to provide the connection string, container name, and uuid:

Backup / Restore to Google Cloud Storage (GCS)

Full Backup

Where uuid is a unique identifier, used to differentiate a set of backups.

Incremental Backup

Restore from a backup