govuk_sudo::sudo_conf:
  govuk-backup:
    content: 'govuk-backup ALL=(postgres) NOPASSWD:/usr/bin/pg_dump'

govuk_env_sync::tasks:
  "push_content_performance_manager_production_daily":
    ensure: "present"
    hour: "0"
    minute: "20"
    action: "push"
    dbms: "postgresql"
    storagebackend: "s3"
    database: "content_performance_manager_production"
    temppath: "/tmp/content_performance_manager_production"
    url: "govuk-production-database-backups"
    path: "warehouse-postgresql"

Configure the CPM database to be pushed to S3
Configure the CPM database to be pushed to S3

From Carrenza production. This is in preparation for migrating the
Content Performance Manager to AWS, under the new name of the Content
Data API.

This datasync will be used for testing prior to the migration, and for
the data immediately prior to switching the service to be in AWS.
