Skip to content

Platform.sh Database Backup and S3 Sync

Actions
Execute a database backup/dump sync to S3
1.3.0
Latest
Star (16)

platformsh-db-dump-s3-sync-action

GitHub Action to take a database dump from a platform.sh site and copy the dump to S3.

Usage

- uses: chromatichq/db-backup-sync-action@v1
  with:
    platformsh_project: 'XXXX-project-id'  # required.
    platformsh_environment: 'main'  # required.
    platformsh_relationship: 'database'  # optional. specify if the project has multiple databases.
    platformsh_app: 'api' # optional. specify if the project has multiple apps.
    aws_s3_bucket: 'bucket-name'  # required.
    db_dump_filename_base: 'sitename-db-dump'
  env:
    PLATFORMSH_CLI_TOKEN: ${{ secrets.PLATFORMSH_CLI_TOKEN }}  # required.
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}  # required.
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}  # required.
    AWS_DEFAULT_REGION: 'us-west-2' # required.

Platform.sh Database Backup and S3 Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Execute a database backup/dump sync to S3
1.3.0
Latest

Platform.sh Database Backup and S3 Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.