{"repo":"diogopms/postgres-gcs-backup","free":true,"listed":false,"github":"https://github.com/diogopms/postgres-gcs-backup","clone":"git clone https://github.com/diogopms/postgres-gcs-backup.git","description":"This project aims to provide a simple way to perform a PostgreSQL server/db backup using pg_dump and to upload it to Google Cloud Storage. It also provides the ability to send Slack alerts in case of failure.","language":"Shell","stars":28,"topics":["backup","gcp","postgresql"],"license":null,"category":"databases-storage","readme_excerpt":"postgres-gcs-backup This project aims to provide a simple way to perform a PostgreSQL server/db backup using pg dump and to upload it to Google Cloud Storage. It also provides the ability to send Slack alerts in case of failure. We provide a kubernetes support thanks to the helm chart located in the chart folder of this repository. Docker image You can pull the public image from Docker Hub: docker pull diogopms/postgres-gcs-backup:latest Or pull the public image from Github Registry: docker pull ghcr.io/diogopms/postgres-gcs-backup:latest Configuration The following table lists the configurable parameters you can set up. Environment Variable Required Default Description --------------------- ---------- --------- ------------- JOB NAME No default-name Job name BACKUP DIR No /tmp The path where the pg dump result will be temporarily stored. BOTO CONFIG PATH No /root/.boto The path where gsutil will search for the boto configuration file. GCS BUCKET Yes The bucket you want to upload the backup archive to. GCS KEY FILE PATH Yes The location where the GCS serviceaccount key file will be mounted. POSTGRES HOST No localhost The PostgreSQL server host. POSTGRES PORT No 5432 The PostgreSQL port. POSTGRES DB No The database to backup. By default, a backup of all the databases will be performed. POSTGRES USER No The PostgreSQL user if any. POSTGRES PASSWORD No The PostgreSQL password if any. PGDUMP EXTRA OPTS No Extra options passed verbatim to pg dump , e.g. --schema=public --no-owner ","default_branch":null,"files":null,"tree":[],"storefront":"/r/diogopms","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diogopms/postgres-gcs-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}