Skip to content

Ensure auto-backup is enabled


Ensures that Redshift has automatic backups enabled. AWS Redshift offers the capability to automatically create snapshots of your cluster in order to provide a data backup.


The use of automatic backups ensures that even in the event of a failure, the lost data can be restored from a recent point in time. Automatic backups reduce downtime when a failure occurs, and prevent data loss.

Applies To

  • Databases


This rule is applied when the following tags are present:

Tag With Value
secureclouddb/provider aws
secureclouddb/service redshift

Default Rule

 * @param {Object} databaseSettings - database settings object
 * @returns {boolean} true if cluster backup is enabled
function validate(databaseSettings) {
    const success = databaseSettings.awsDatabaseInstance &&
        databaseSettings.awsDatabaseInstance.redshiftCluster &&
        databaseSettings.awsDatabaseInstance.redshiftCluster.automatedSnapshotRetentionPeriod > 0;

    return {

// invoke